Workspaces
Update Workspace User Role
Update a user's role in a workspace.
This works for both full users and stub users.
Business Rules:
- Only workspace owners (ADMIN) can change user roles
- Users cannot change their own role
- Workspace must always have at least one owner
- When promoting to owner: deletes all explicit project permissions (no longer needed)
- When demoting from owner: no automatic project permissions created
Role Conversion Logic:
- Limited Member to Member: the project roles they were given stay as overrides
- Member to Limited Member: their project roles stay and become their only access
patch/workspaces/{workspace_id}/users/{user_id}
Request
- Base URLhttps://api.aspect.inc
- URLhttps://api.aspect.inc/workspaces/{workspace_id}/users/{user_id}
- AuthAPI key in header Authorization
Path parameters
workspace_idstring uuid required
user_idstring uuid required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.