Delete Workflow

Delete archived contract flow

Permanently deletes an archived contract flow. Flows linked to contract
requests cannot be deleted.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Permanently deletes an archived contract flow belonging to your client. This is irreversible. The flow must already be in the ARCHIVED state and must not be linked to any existing contract requests. On success the endpoint returns no content.

Authentication & access

  • Requires a client API token: Authorization: Bearer <token>.
  • The caller must hold the contracts.workflows.archive permission and have the OWNER or OPERATIONS role.
  • Contract signing must be enabled for the client. If it is disabled the request returns 403.

Path parameters

  • workflow_id (string, required) — the ID of the contract flow to delete. It must belong to the authenticated client.

Preconditions

  • The flow must be in the ARCHIVED state. Flows in any other state (for example DRAFT or PUBLISHED) cannot be deleted and return 400. Archive the flow first.
  • The flow must not be linked to any contract requests. If at least one contract request references it, deletion is rejected with 400.

Response

  • 204 No Content — the archived contract flow was permanently deleted. The response body is empty.

Error responses

StatusWhen
400The flow is not ARCHIVED, or it is linked to one or more contract requests
403Contract signing is disabled for the client
404No contract flow with this workflow_id exists under the authenticated client

Standard 401 (authentication), 403 (insufficient permission or role), and 429 (rate limit) responses apply to every endpoint and are documented in the Error reference.

Path Params
string
required
Responses
204

Successful Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json