Insert Permissions For Object

Insert Permissions For Object

Adds new permissions for the Orchestrator Server or updates the current ones if such permission rules exist. Access rights : 'r' - VIEW, 'x' - EXECUTE, 'i' - INSPECT, 'c' - EDIT, 'a' - ADMIN

Request
URI
POST
https://{api_host}/vco/api/server/permissions
COPY
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"
                    }
                ]
            }
        }
    ]
}
array of permission
permissions
Optional

permissions

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"
                    }
                ]
            }
        }
    ]
}
array of permission
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