Skip to main content
DELETE
Rate limit tier: general, 600 requests/min. See Rate limits. Deletes a workflow along with all of its document packets and runs. The workflow leaves the API at once, and its document packets and runs are then deleted permanently, as a document packet delete deletes them. The workflow’s own files, such as its lookup files, stay in storage for a grace window of 14 days, or 24 hours for an organization with zero data retention, before they become eligible for a permanent purge. The API offers no call that undoes a delete. Returns 204 No Content on success. An unknown id returns 404, as does a workflow belonging to another organization.

Skipping the deletion window

By default the deletion’s record is kept for a deletion window of 14 days, or 24 hours for an organization with zero data retention, and its deletion certificate is issued once that window ends. Send X-Anyformat-Skip-Deletion-Window: true to forget the deleted workflow, its document packets and its runs at once instead, so its certificate is issued within about ten minutes. Any other value, or no header, keeps the window. Use it when you need the certificate now, for example to test deletion end to end.

Authorizations

Authorization
string
header
required

API key issued from app.anyformat.ai/api-key. Send as Authorization: Bearer <key>.

Headers

X-Anyformat-Skip-Deletion-Window
string | null

true forgets the deleted data at once instead of keeping it restorable for the deletion window, so its deletion certificate is issued right away. The delete cannot then be undone.

Path Parameters

workflow_id
string
required

Response

Successful Response