Skip to main content
POST
/
workspaces
/
{workspaceId}
/
delete
Delete a workspace (two-step confirmation)
curl --request POST \
  --url https://origami.chat/api/v2/workspaces/{workspaceId}/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "confirm": false
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string<uuid>
required

Body

application/json
confirm
boolean
default:false

Must be true to actually delete. Omit/false to get the confirmation preview.

Response

{ workspaceId, name, deleted: true } — workspace deleted.