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

KeyDatatypeRequiredDescription
roleIdstringRole Id to filter the role assignments with
roleNamestringRole name to filter the role assignments with

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{"id":"1cbb0705b38c4226b1334eadd8874086","role":{"type":"ROLE","name":"Engineer"}},{"id":"1cbb0705b38c4226b1334eadd8874086","role":{"type":"ROLE","name":"Engineer"}}]