DELETE
/
orders
curl --request DELETE \
  --url https://api.exchange.coinbase.com/orders \
  --header 'cb-access-key: <api-key>' \
  --header 'cb-access-passphrase: <api-key>' \
  --header 'cb-access-sign: <api-key>' \
  --header 'cb-access-timestamp: <api-key>'
[
  "<string>"
]

API Key Permissions

This endpoint requires the “trade” permission.

Examples

ExampleResponse
/orders?product_id=FOO-BAR(404) ProductNotFound
/orders?product_id=BtC-uSd(200) Cancel all orders for BTC-USD
/orders?Product_id=BTC-USD(400) Return BadRequest Error
/orders(200) Cancel all orders for all products

Authorizations

cb-access-key
string
header
required
cb-access-passphrase
string
header
required
cb-access-sign
string
header
required
cb-access-timestamp
string
header
required

Query Parameters

profile_id
string

Cancels orders on a specific profile

product_id
string

Cancels orders on a specific product only

Response

200
application/json

A list of the ids of open orders that were successfully cancelled