Add a new operator role
x-ms-visibility: "important"
Create a new operator role with assigned permissions.
application/json
Request Body required
Operator role details to create.
name string
permissions string[]
Responses
- 201
- 400
- 401
The created operator role details.
application/json
Schema
Example (from schema)
Schema
id int64
name string
permissions int32[]
Possible values: [0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
, 12
, 13
, 14
, 15
]
{
"id": 0,
"name": "string",
"permissions": [
0
]
}
Invalid request parameters.
application/json
Schema
Example (from schema)
Schema
errorCode string
message string
errorNumber int32
helpLink string
{
"errorCode": "string",
"message": "string",
"errorNumber": 0,
"helpLink": "string"
}
User not authorized.
Loading...