Api
Remove a member from a workspace
Removes a member from the workspace, revoking their data access on their next request. 400 if workspaceId is not a wsp_ id; 403 for a workspace you are not a member of. Among members only an admin may remove; a non-admin receives a 404. 422 if the target is the workspace's last admin — promote another member to admin first.
AuthorizationBearer <token>
A Supabase-issued OAuth user access token. On collection endpoints, pair with a Passo-Workspace header to pick a workspace.
In: header
Path Parameters
workspaceId*string
The workspace's public id, e.g. wsp_abc.
userId*string
Format
uuidResponse Body
application/json
curl -X DELETE "https://example.com/workspaces/string/members/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "success": true}