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": [
{
"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
200
successful operation
Returns permissions of type(s) application/json
{
"permissions": [
{
"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"
}
]
}
}
]
}
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
On This Page
Workflow Service Operations
DELETE
Delete Permission Rule
DELETE
Delete Permissions For Object
DELETE
Delete Workflow
GET
Download Workflow Icon
GET
Download Workflow Schema
GET
Get All Tasks For Workflow
GET
Get All User Interactions For Workflow
GET
Get All Workflows
GET
Get Permission Rule
GET
Get Permissions For Object
GET
Get Workflow
POST
Import Workflow
POST
Insert Permissions For Object
PUT
Update Permission Rule