SSharaFormsDocs
Workspace Users

Leave Workspace

Remove your own user account from a workspace.

POST/open/workspaces/{workspaceId}/leave

Remove your own user account from a workspace.

#Authentication & Scope

Requires the workspace-users-write ability. Only the authenticated user can leave; admins cannot use this endpoint to kick others (see Remove Workspace User).

#Request

http
POST /open/workspaces/{workspaceId}/leave HTTP/1.1
Host: api.sharaforms.com
Authorization: Bearer <token>

#Path Parameters

ParameterTypeDescription
workspaceIdnumberID of the workspace to quit

Request body is empty.

#Response

204 No Content – You successfully left the workspace.

403 Forbidden – Token lacks workspace-users-write or you aren't a member.