List role assignments
GET {{baseUrl}}/identities/:identityId/role-assignments
This returns either a list of Role Assignments when querying with either a Role Id or Role Name, or a list of Role Assignment References if querying with only identity Id.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
roleId | string | Role Id to filter the role assignments with | |
roleName | string | Role name to filter the role assignments with |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"id":"1cbb0705b38c4226b1334eadd8874086","role":{"type":"ROLE","name":"Engineer"}},{"id":"1cbb0705b38c4226b1334eadd8874086","role":{"type":"ROLE","name":"Engineer"}}]