Create Role
Creates a new role
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/roles
COPY
Request Body
Role
of type(s)
application/json
Optional
{
"name": "string",
"id": "string",
"description": "string",
"bundleKey": "string",
"readOnly": false
}
Responses
201
Created
Returns
Role
of type(s)
application/json;version=39.1
This response body class contains all of the following:
InlineRole0 ,
InlineRole1
"Role Object"
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string"}' https://{api_host}/cloudapi/1.0.0/roles