Query Tenant Roles
Get list of roles for a tenant
Request
URI
GET
https://{api_host}/cloudapi/1.0.0/roles
COPY
Query Parameters
string
filter
Optional
Filter for a query. FIQL format.
string
sortAsc
Optional
Field to use for ascending sort
string
sortDesc
Optional
Field to use for descending sort
integer
page
Required
Constraints:
minimum: 1
default: 1
Page to fetch, zero offset.
integer
pageSize
Required
Constraints:
minimum: 0
maximum: 128
default: 25
Results per page to fetch.
Responses
200
OK
Returns
Roles
of type(s)
application/json;version=39.1
This response body class contains all of the following:
InlineRoles0 ,
InlineRoles1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"name": "string",
"id": "string",
"description": "string",
"bundleKey": "string",
"readOnly": false
}
]
}
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/roles?page=value&pageSize=v
Availability
Added in 31.0
Roles Operations
GET
Query Tenant Roles
POST
Create Role
GET
Get Role
PUT
Update Role
DELETE
Delete Role
GET
Query Role Rights
POST
Add Rights To Role
PUT
Replace Rights In Role