Update Permission Rule
Updates principal or access rights for single permission rule with given ID.
Request
URI
PUT
https://{api_host}/vco/api/packages/{packageName}/permissions/{ruleId}
COPY
Path Parameters
string
string
Request Body
permission of type(s) application/json
Optional
{
"href": "string",
"relations": {
"total": 0,
"start": 0,
"link": [
{
"attribute": [
{
"displayValue": "string",
"value": "string",
"name": "string"
}
],
"href": "string",
"type": "string",
"rel": "string"
}
]
},
"principal": "string",
"rights": "string"
}
string
href
Optional
href
string
principal
Optional
principal
string
rights
Optional
rights
Responses
204
No content
Operation doesn't return any data structure
400
Request is not valid (validation error)
Operation doesn't return any data structure
401
User is not authorized
Operation doesn't return any data structure
404
Cannot find a package with the specified name, the user does not have 'admin' access rights for that package, or the permission rule with the specified ID does not exist
Operation doesn't return any data structure
Packages Service Operations
POST
Add Actions To Package
POST
Add Action To Package
POST
Add Configuration Element Category To Package
POST
Add Configuration Element To Package
POST
Add Recource Category To Package
POST
Add Recource Element To Package
POST
Add Workflow Category To Package
POST
Add Workflow To Package
PUT
Create Package
DELETE
Delete Action Element
DELETE
Delete Configuration Element
DELETE
Delete Package
DELETE
Delete Permission Rule
DELETE
Delete Permissions For Object
DELETE
Delete Resource Element
DELETE
Delete Workflow Element
POST
Get Import Package Details
GET
Get Permission Rule
GET
Get Permissions For Object
POST
Import Package
POST
Import Package Extended
POST
Insert Permissions For Object
GET
List All Packages
GET
Package Details
POST
Rebuild Package
PATCH
Update Package
PUT
Update Permission Rule