Delete a subscription version
Discards an unwanted draft version, or a published version that has not started yet. A published version that is in effect or has ended cannot be deleted; supersede it by creating a new version instead. See the Updating a Subscription examples. On an active or paused subscription, the deletion of a published version applies as a subscription change, which can need approval. When the change needs approval, the call answers 202 Accepted with the approval that it waits for, and the change does not apply before the approval: approval.change_id names the subscription change that waits for it and approval.flow_id names the flow, and the subscription’s open_change reports the same change. While a change is open on the subscription, the call fails with approval.reason open_change and approval.change_id; repeating it returns the same answer until a dashboard user approves, rejects or withdraws that change. On a sent subscription, the edit is saved and the reissue of the offer waits for approval: the call answers 202 Accepted with approval.subscription_id and approval.operation send_quote, and the customer cannot sign the offer before the approval. See When a call needs approval.
Authorizations
Headers
A unique string that makes a retried write safe. If you send the same request with the same key within 24 hours, the API returns the stored response and does not run the request again. A 5xx or 429 response is not stored, so a retry with that key runs the request again.
255"ik_a1b2c3d4e5f6"
Path Parameters
Response
Accepted: approval was requested, and the action that needs it waits for the approval