Change a workspace member's role
PATCH/projects/:project_id/members/:membership_id
Sets the member's role in the workspace. Someone without access to a restricted workspace gets
access with that role and the access granted email. no_access removes them from a
restricted workspace and moves what they own there to the Workspace Owner; it is refused in a
workspace that is open to everyone, where setting someone back to their default role drops
their individual role instead. Only Org Admins can change an Org Admin's role in a workspace,
which the API key can. owner is refused, and the Workspace Owner's role can't be changed.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 405
- 429
OK
The request is invalid.
The API key header is missing, or the API key is invalid, disabled or expired.
The API key is not allowed to do this, for example a key that isn't allowed to manage members.
The project or resource was not found.
The requested HTTP method is not allowed.
Too many requests sent with the same API key. Up to 10 requests can be sent within 1 second.