v54

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-03522891921.1 KB
Workspaces

Assign Role To User

Assign a role to a user in a workspace.

Args: payload (UserRole): The organization id, user email, and role to assign. workspace_id (str): The ID of the workspace.

post/workspaces/{workspace_id}/roles

Path parameters

workspace_idstring required

Request body

emailstring required
rolestring nullable
organization_idstring required

Response

Successful Response

{"stackTrail":"paths:/workspaces/{workspace_id}/roles:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}