List directory roles.
List directory roles.
Authorization
bearerAuth AuthorizationBearer <token>
Access token from POST /directory/connect/token. Scope olifyapi.
In: header
Query Parameters
$filter?string
$orderby?string
$select?string
$expand?string
$count?boolean
$top?integer
Page size. Host OData:MaxTop is 10000.
Range
0 <= value <= 10000$skip?integer
Range
0 <= valueHeader Parameters
Olify-Tenant-Id?string
Optional tenant GUID. Directory list/get accept it when the caller is tenant-scoped.
Format
uuidResponse Body
DirectoryRoleapplication/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/directory/directory-roles"{ "value": [ { "ownerOrganization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "name": "string", "description": "string", "permissionTypeIds": [ "523b108b-4a15-4767-bb99-b6bb5e8465fd" ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "count": 0}