Get Operator Roles
x-ms-visibility: "important"
Retrieve a paginated list of operator roles.
Query Parameters
page int32
Page number to fetch. Default: 1
limit int32
Number of records per page. Max: 100. Default: 100.
sortKey string
Field to sort by. Default: 'Id'
sortDescending boolean
Set to 'true' to sort in descending order. Default: 'false'
search string
Search for operator roles by name.
Responses
- 200
- 400
- 401
List of operator roles.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
page int32
limit int32
totalRecords int32
hasNextPage boolean
hasPreviousPage boolean
items object[]
id int64
name string
permissions int32[]
Possible values: [0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
, 12
, 13
, 14
, 15
]
{
"page": 0,
"limit": 0,
"totalRecords": 0,
"hasNextPage": true,
"hasPreviousPage": true,
"items": [
{
"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 is not authorized.
Loading...