Assignments

assignRoles

Assign / unassign roles to users.

put/v1/permissions/assignments/{userId}

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 endpoint across all 2 revisions of this API.