Update Permission Rule
Updates principal or access rights for a single permission rule with a given ID.
Request
URI
PUT
https://{api_host}/vco/api/server/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
200
The request is successful
Operation doesn't return any data structure
400
The request is invalid(validation error).
Operation doesn't return any data structure
401
The user is not authorized.
Operation doesn't return any data structure
404
The user does not have 'admin' access rights for the server object, or the permission rule with the specified ID does not exist.
Operation doesn't return any data structure