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/workflows/{id}/permissions/{ruleId}
COPY
Path Parameters
string
string
Request Body
permission
of type(s)
application/json
Optional
{
"principal": "string",
"rights": "string",
"href": "string",
"relations": {
"total": 0,
"start": 0,
"link": [
{
"rel": "string",
"attribute": [
{
"displayValue": "string",
"name": "string",
"value": "string"
}
],
"href": "string",
"type": "string"
}
]
}
}
Responses
204
No content
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
Can not find a workflow with the specified ID, the user does not have 'admin' access rights for that workflow, or the permission rule with the specified ID does not exist
Operation doesn't return any data structure
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/vco/api/workflows/{id}/permissions/{ruleId}
Workflow Service Operations
GET
Download Workflow Schema
GET
Get Workflow
POST
Insert Permissions For Object
GET
Get Permissions For Object
DELETE
Delete Permissions For Object
GET
Get All User Interactions For Workflow
GET
Download Workflow Icon
PUT
Validate
GET
Get All Tasks For Workflow
POST
Import Workflow
GET
Get All Workflows
GET
Validate Existing
DELETE
Delete Workflow
GET
Download Workflow Schema Content
GET
Get Permission Rule
DELETE
Delete Permission Rule
PUT
Update Permission Rule