Skip to main content
DELETE
https://api.galadriel.com
/
v1
/
orders
/
{order_id}
curl -X DELETE https://api.galadriel.com/v1/orders/ord_abc123 \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "order_id": "ord_abc123",
  "status": "cancelled",
  "cancelled_gpus": 16,
  "cancelled_at": "2025-11-11T14:30:00Z"
}

Path Parameters

order_id
string
required
The order ID to cancel

Response

order_id
string
The cancelled order ID
status
string
New status: cancelled
cancelled_gpus
integer
Number of unfilled GPUs that were cancelled
Only pending or partially filled orders can be cancelled. Fully filled orders cannot be cancelled, but you can terminate the resulting lease instead.
curl -X DELETE https://api.galadriel.com/v1/orders/ord_abc123 \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "order_id": "ord_abc123",
  "status": "cancelled",
  "cancelled_gpus": 16,
  "cancelled_at": "2025-11-11T14:30:00Z"
}