Skip to main content
DELETE
/
v0
/
orders
/
{id}
Cancel an order
curl --request DELETE \
  --url https://api.sfcompute.com/v0/orders/{id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "pending"
}

Documentation Index

Fetch the complete documentation index at: https://docs.sfcompute.com/llms.txt

Use this file to discover all available pages before exploring further.

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 cancelled successfully

object
enum<string>
required
Available options:
pending