Skip to main content
DELETE
/
v2
/
orders
/
{id}
Cancel order
curl --request DELETE \
  --url https://api.sfcompute.com/v2/orders/{id} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "type": "authentication_error",
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.

Path Parameters

id
string
required

Order ID

Pattern: ordr_[0-9a-zA-Z_-]{1,21}
Example:

"ordr_k3R-nX9vLm7Qp2Yw5Jd8F"

Response

Order cancellation initiated.