Cancel orders
DELETE/institutional/subaccounts/orders
Cancels multiple orders for the specified subaccount or market. If the subaccount is not specified, orders for the main account are canceled.
This is a private endpoint. To send requests, you need to authenticate.
To use this private endpoint, you must use the API key of your main account with the Include all subaccounts.
Rate limit weight points: N/A
Request
- application/json
- Schema
- Example (body)
Body
The unique identifier for the subaccount. If not specified, orders under the main account are cancelled.
When specified, orders are canceled only for a specific market.
BTC-EURYour identifier for the trader or the bot within your account that made the request.
1{
"subaccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"market": "BTC-EUR",
"operatorId": 1
}
Responses
- 200
- 4XX
The request was successful.
Response Headers
The number of remaining weight points before it resets at bitvavo-ratelimit-resetat.
The time when bitvavo-ratelimit-remaining resets to bitvavo-ratelimit-limit.
The number of available weight points in one minute.
- application/json
- Schema
- Example (body)
Schema
- Array [
- ]
orders object[]
Array of objects with cancelled orders.
Bitvavo identifier of the cancelled order.
1be6d0df-d5dc-4b53-a250-3376f3b393e6Your identifier of the cancelled order. Only returned if specified in the request.
2be7d0df-d8dc-7b93-a550-8876f3b393e9.Identifier for the trader or bot that made request.
1{
"orders": [
{
"orderId": "1be6d0df-d5dc-4b53-a250-3376f3b393e6",
"clientOrderId": "2be7d0df-d8dc-7b93-a550-8876f3b393e9.",
"operatorId": 1
}
]
}
For error codes, see Handle errors.