Insert Permissions For Object
Sets permissions for a workflow with a given ID.
Request
URI
POST
https://{api_host}/vco/api/workflows/{id}/permissions
COPY
Path Parameters
string
Request Body
permissions
of type(s)
application/json
Optional
{
"permissions": [
{
"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"
}
]
}
Responses
200
successful operation
Returns
permissions
of type(s)
application/json
"permissions Object"
array of
object
permissions
Optional
permissions
201
Created
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
Cannot find an action with the specified name
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/vco/api/workflows/{id}/permissions
On This Page
Workflow Service Operations
GET
Get All Workflows
POST
Import Workflow
PUT
Validate
GET
Get Workflow
GET
Download Workflow Schema Content
GET
Download Workflow Icon
GET
Get Permissions For Object
POST
Insert Permissions For Object
DELETE
Delete Permissions For Object
GET
Get Permission Rule
PUT
Update Permission Rule
DELETE
Delete Permission Rule
GET
Download Workflow Schema
DELETE
Delete Workflow
GET
Get All User Interactions For Workflow
GET
Get All Tasks For Workflow
GET
Validate Existing