Users

Get user details

get

Update user info

put

Delete user

delete

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

NameDescriptionInRequiredSchema
workspace_id

Workspace ID

path✅string
user_id

UserID

path✅string

Update Workspace Member Role

PUT
https://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

DELETE
https://api.xata.io/workspaces/workspace_id/members/user_id

Remove the member from the workspace

Responses