Permissions

Assign a role to the user

Specify the role ID to assign to the user.

put/users/{userId}/roles

Request body

role_idstring uuid required

Identifier of the organisation role to assign or remove. Roles grant a bundle of permissions across the user's organisation; for per-site permissions use the site-roles endpoint instead.

Response

The role was successfully assigned.

Changes

No recorded changes to this endpoint across all 1 revision of this API.