staqlydocs
REST APIAPI referenceAuth

Permanently delete this workspace and all its data

Permanently delete this workspace and all its data (cloud, dashboard session only)

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

DELETE
/v1/workspace

Deletes collections, posts, channels, schedules, jobs, media files, events, webhooks, deliveries, alert channels, API keys, sessions and exports. Requires a session (API keys get 403) and confirm equal to the workspace name. The Community Edition returns 409: delete the data volume instead.

Authorization

headerAuthorizationBearer <token>

API key (stk_...), or in the Community Edition the access token (stk_local_...)

Header Parameters

Idempotency-Key?string

Replays the stored response when the same key is repeated with the same method, path, query string and body within 24 hours (422 idempotency_mismatch with a different request, 409 idempotency_in_progress while the first one runs). Not applied to multipart uploads or to responses that carry a secret.

Lengthlength <= 200

Request Body

application/json
  1. body
confirm*string

The exact workspace name

Response Body

Deleted; the session cookie is cleared

curl -X DELETE 'https://staqly.example.com/v1/workspace' \  -H 'Content-Type: application/json' \  -d '{  "confirm": "string"}'
Empty