Insert Permissions For Object
Sets permissions for an action with given id
Request
URI
POST
https://{api_host}/vco/api/actions/{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": [
{
"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"
}
]
}
201
The request is successful
Operation doesn't return any data structure
204
No content
Operation doesn't return any data structure
400
Request is not valid (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 an action with the specified id
Operation doesn't return any data structure
On This Page
Actions Service Operations
DELETE
Delete Action
DELETE
Delete Permission Rule
DELETE
Delete Permissions For Object
POST
Execute Action By Id
POST
Execute Action By Name
GET
Export Action
GET
Get Action
GET
Get Permission Rule
GET
Get Permissions For Object
POST
Import Action
POST
Insert Permissions For Object
GET
List All Actions
PUT
Update Permission Rule