Workspaces
Assign Role To User
Changed onAssign 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
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/workspaces/{workspace_id}/roles
- AuthAPI key in header Authorization
Path parameters
workspace_idstring required
Request body
Response
Successful Response
unknown required
Changes
- info
api tag
Workspacesadded
- info
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info