Assignments

getAssignedRolesForUser

Get list of assigned roles by user id

get/v1/permissions/assignments/{userId}

Request

  • Base URL
    https://permissions.sls.epilot.io
  • URL
    https://permissions.sls.epilot.io/v1/permissions/assignments/{userId}
  • Auth
    • HTTP bearer
    • or API key in header x-epilot-org-id

Path parameters

userIdstring required

Id of a user

Example:1

Response

ok

RoleId[] required

List of role ids attached to an user

Example response

[
  "123:owner"
]

Changes

No recorded changes to this operation across all 4 revisions of this API.