Leave workspace
Leave a workspace you are a member of with DELETE /v2/workspaces/leave, losing access to its shared applications at once. Owners delete it instead.
DELETE
Leave workspace
The API key for your account. You can find this in your account settings.
workspaces:manage scope.
Removes the authenticated user from a workspace’s member list. This is the self-service counterpart to Remove Member, for a member who wants out without asking the owner to act.
The workspace owner cannot leave their own workspace this way; they must call Delete Workspace instead, which removes it for every member. Leaving revokes access to the workspace’s shared applications immediately. Rate limited to 1 request every 5 seconds per user.
Parameters
Response
Common errors
Related
- CLI:
squarecloud workspace leave - SDKs:
api.workspaces.leave()(JavaScript),client.workspaces.leave()(Python),c.Workspaces.Leave()(Go)

