Skip to main content

Workspace Deletion

Schedule the deletion of the workspace with its exact name as confirmation, see the scheduled date, and cancel it during the waiting period. One key acts on one workspace.

A credential belongs to exactly one workspace, so these endpoints act on that workspace only. Scheduling needs the workspace's exact name in confirm; from then on the workspace is read-only (reads and exports still work) until the date, and the deletion can be cancelled.

GET/v1/workspace/deletion

cURL

curl -X GET https://api.talonic.com/v1/workspace/deletion \
  -H "Authorization: Bearer $TALONIC_API_KEY"
POST/v1/workspace/deletion

cURL

curl -X POST https://api.talonic.com/v1/workspace/deletion \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"confirm": "\u2026", "scheduled_for": "\u2026"}'
DELETE/v1/workspace/deletion

cURL

curl -X DELETE https://api.talonic.com/v1/workspace/deletion \
  -H "Authorization: Bearer $TALONIC_API_KEY"
Errors: 401 missing or invalid credential; 403 with a reason (insufficient_scope, insufficient_role, person_inactive, not_member, no_person, workspace_read_only, or STEP_UP_REQUIRED); 404 unknown id in this workspace; 429 rate limited (see Retry-After).