Archive a flow
Soft-archives the flow.
Calls that already ran through it stay readable with the graph they used, and the member agents are untouched.
Blocked while a number still points at it
The request is rejected with 409 flow_in_use while any non-archived phone number still targets this flow. The error details list every blocking number — re-point them and retry.
Repeating DELETE after archive is an audited 204 no-op.
If-Match is optional: omitting it archives unconditionally, * accepts the current representation, and a stale strong tag returns 412 with the current ETag. Any request body returns 400 unexpected_body.
bearerAuthAuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringuuidIf-Match?stringOptional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.
Flow archived, or it was already archived.
curl -X DELETE 'https://api.kejue.co/v1/flows/497f6eca-6276-4993-bfeb-53cbbbba6f08'