v1
latestOpenAPI 3.0.12026-07-265879107.5 KBWorkspaces
Assign a role to a user or group in a workspace
Assigns the specified role to a user or group within the given workspace. Note: A workspace must have at least one owner at all times. Changing the last owner's role will be rejected.
post/workspaces/{ws_id}/{entity_type}/{entity_id}/role/{role}
Path parameters
ws_idstring required
The ID of the workspace
entity_typestring required
The type of entity to assign the role to (user or group)
entity_idstring required
The ID of the user or group to assign the role to
rolestring required
The name of the role to assign to the entity
Response
OK