Get one directory user role grant by id.
Get one directory user role grant by id.
Authorization
bearerAuth AuthorizationBearer <token>
Access token from POST /directory/connect/token. Scope olifyapi.
In: header
Path Parameters
id*string
Format
uuidHeader Parameters
Olify-Tenant-Id?string
Optional tenant GUID. Directory list/get accept it when the caller is tenant-scoped.
Format
uuidResponse Body
DirectoryUserRoleGrantapplication/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/directory/directory-user-role-grants/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "ownerOrganization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "user": { "ownerOrganization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "userName": "string", "person": { "ownerOrganization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "firstName": "string", "lastName": "string", "personalNumber": "string", "phoneNumber": "string", "academicDegree": "string", "scientificDegree": "string", "isExternal": true, "jobPosition": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "isLoginEnabled": true, "accountType": "HumanAccount", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "role": { "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" }, "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0", "tenantName": "string", "resourceId": "string", "context": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "ownerOrganization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0", "contextId": "84451116-c600-49e2-9c60-5b6b34fae0d6", "contextClassId": "4dfb0b7d-fb63-4041-bd34-92550edaa131", "name": "string" }}