Skip to main content
DELETE
Archive a decision, or delete it and its versions

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

workspace
string
required

Workspace slug.

Maximum string length: 64
Pattern: ^[a-z0-9][a-z0-9-]{0,63}$
key
string
required

Decision key — a flat slug, never a path.

Maximum string length: 64
Pattern: ^[a-z0-9][a-z0-9-]{0,63}$

Query Parameters

purge
boolean
default:false

Archive by default: the decision leaves the lists and its versions and history are kept. true deletes them, which cannot be undone.

Response

Successful Response

What happened when a decision was archived or deleted.

workspace
string
required
key
string
required
purged
boolean
required

False when it was archived — reversible, and its versions, history and audit trail are untouched. True when the rows were deleted.

removed
Removed · object

Rows deleted, by table. Empty when archived.