Skip to main content

Change a user's role

PUT 

/api/v1/admin/users/:id/role

Sets a user's role to USER or ADMIN. The last administrator cannot be demoted. The change is recorded in the audit log.

Access: Administrators only.

Request​

Responses​

No Content