Endpoints
Remove User From Workspace
Remove a user from a workspace.
Parameters:
- payload (UserRole): The payload containing the user email and organization ID.
- workspace_id (str): The ID of the workspace.
- request (Request): The FastAPI request object.
Returns:
- WorkspaceResponse: The updated workspace.
Raises:
- HTTPException: If the user does not have permission to perform this action.
- HTTPException: If there is an error during the removal process.
DELETE
/
workspaces
/
{workspace_id}
/
users
Authorizations
Authorization
string
headerrequiredPath Parameters
workspace_id
string
requiredQuery Parameters
org_id
string
requiredemail
string
requiredResponse
200 - application/json
created_at
string
default: 2024-05-15T13:56:52.061787updated_at
string
default: 2024-05-15T13:56:52.061801id
string
requiredname
string
requireddescription
string
type
string
organization
string
requiredmembers
object[]
Was this page helpful?