API reference
Remove Workspace membership
DELETE
/v1/workspaces/{id}/members/{userId}An administrator removes a direct membership. Inherited organization access and the owner of a Default Workspace cannot be removed here.
Authentication
Use your signed-in console session or a person's WorkOS access token for this setup operation. See authentication and permissions.
Request
Responses
Direct membership removed. No response body.