DELETE
/
v2
/
workspaces
/
leave
curl --request DELETE \
  --url https://api.squarecloud.app/v2/workspaces/leave \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "workspaceId": "<string>"
}'
{
  "status": "success"
}
Authorization
string
required

The API key for your account. You can find this in your account settings.

workspaceId
string

The ID of the workspace.

Response

status
string

Indicates whether the call was successful. success if successful, error if not.

{
  "status": "success"
}