Cancel VPS queue
DELETE/orders/:order_id/queue
Cancels a queued VPS purchase before resource reservation or provisioning starts. Use the Cloud API order_id. The request has no body; api_key_id is a query parameter. No Idempotency-Key is needed: repeating DELETE for the same cancelled order returns the refunded order without another refund. HTTP 200 confirms cancellation and refund of the original charged amount to the integration balance. A zero-cost administrative order remains zero-cost. The order status is refunded with error_code=creation_cancelled; provisioning status is cancelled. Expect order.refunded and vm.creation_cancelled webhooks. Once provisioning starts, returns 409 queue_cancel_unavailable without a refund. Before dispatch, returns 409 queue_not_ready; non-VPS purchases return 409 not_vm_purchase. A 503 response does not prove cancellation failed: read the order and repeat the same DELETE. This route does not delete an issued VPS or cancel a dedicated rental.
Request
Responses
- 200
- 401
- 404
- 409
- 422
- 500
- 503
Successful response
Missing or invalid key, mismatched ID, or inactive integration
Resource not found in this integration
Business or state conflict; inspect detail
Invalid request fields or unsupported parameters
Unexpected server error
Result unconfirmed; retry the same request