Skip to main content

Change user role

Give a person a different role. They hold exactly one, so the role they had is taken away. Refused for your own account, and for the last admin

PUT /users/{id}/role

note

SDK method: changeUserRole Security: authenticated (policy: platform.manage)

Attributes​

Attributes (1)
AttributeTypeRequiredDescription
idstringYesPath parameter.

Request body (application/json)​

Accepts a UserRoleChange object.

Response​

200 OK — Returns a UserSummary object.