Insert Permissions For Object
Sets permissions for a configuration with given ID. Access rights : 'r' - VIEW, 'x' - EXECUTE, 'i' - INSPECT, 'c' - EDIT, 'a' - ADMIN
Request
URI
POST
https://{api_host}/vco/api/configurations/{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
The request is successful
Operation doesn't return any data structure
400
Request is not valid (validation error)
Operation doesn't return any data structure
401
User is not authorized
Operation doesn't return any data structure
404
Cannot find configuration with the specified ID
Operation doesn't return any data structure
On This Page
Configuration Service Operations
DELETE
Delete Configuration
DELETE
Delete Permission Rule
DELETE
Delete Permissions For Object
GET
Export Configuration
GET
Get Permission Rule
GET
Get Permissions For Object
POST
Import Configuration
POST
Insert Permissions For Object
GET
List All Configurations
PUT
Update Permission Rule