Specific Workspace Member
https://api.xata.io/workspaces/workspace_id/members/user_id
This endpoint enables operations on a specific member of a workspace, referenced by their user ID.
Expected parameters
Name | Description | In | Required | Schema |
---|---|---|---|---|
workspace_id | Workspace ID | path | ✅ | string |
user_id | UserID | path | ✅ | string |
Update Workspace Member Role
PUThttps://api.xata.io/workspaces/workspace_id/members/user_id
Update a workspace member role. Workspaces must always have at least one owner, so this operation will fail if trying to remove owner role from the last owner in the workspace.
Request Body Type Definition
Responses
Remove a Member From the Workspace
DELETEhttps://api.xata.io/workspaces/workspace_id/members/user_id
Remove the member from the workspace