Insert Permissions For Object
Sets permissions for a task with a given ID.
Access rights : 'r' - VIEW, 'x' - EXECUTE, 'i' - INSPECT, 'c' - EDIT, 'a' - ADMIN
Request
URI
POST
https://{api_host}/vco/api/tasks/{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
The request is successful
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"
}
]
}
}
]
}
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 task with the specified id
Operation doesn't return any data structure
Task Service Operations
POST
Create Task
DELETE
Delete Permission Rule
DELETE
Delete Permissions For Object
DELETE
Delete Task
GET
Get Executions
GET
Get Permission Rule
GET
Get Permissions For Object
GET
Get Task
GET
Get Tasks
POST
Insert Permissions For Object
PUT
Update Permission Rule
POST
Update Task