User
Role
Organization

Update User Roles

Used to modify roles for a user. Available to global write clients, owners or company owners of all affected workspaces, API keys with write:users scope on every affected workspace, and to the user themselves for removals only. Adding a role in a workspace where the user already holds one returns 409.

patch/user-roles/{id}

Request

  • Base URL: https://api.mabl.com
  • URL: https://api.mabl.com/user-roles/{id}
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Path parameters

idstring required

The user ID to update

Headers

If-Matchstring

If-Match header according to http/1.1 spec section 14.24. Allows for enforced atomic updates, to prevent update collisions

Request body

Response

The complete list of roles after applying this update

Changes

No recorded changes to this operation across all 37 revisions of this API.