Assignments

assignRoles

Assign / unassign roles to users.

put/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

Request body

RoleId[] required

List of role ids attached to an user

Example request

[
  "123:owner"
]

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.