Cancel order
DELETE/institutional/subaccounts/order
Cancels a single open order for the specified subaccount. If the subaccount is not specified, cancels the order for the main account.
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.
The market in which order was made.
BTC-EURBitvavo identifier of the order. If both clientOrderId and orderId are set, clientOrderId is used to identify the order.
1be6d0df-d5dc-4b53-a250-3376f3b393e6Your identifier of the order. If both clientOrderId and orderId are set, clientOrderId is used to identify the order.
2be7d0df-d8dc-7b93-a550-8876f3b393e9.Your identifier for the trader or the bot within your account that made the request.
1{
"subaccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"market": "BTC-EUR",
"orderId": "1be6d0df-d5dc-4b53-a250-3376f3b393e6",
"clientOrderId": "2be7d0df-d8dc-7b93-a550-8876f3b393e9.",
"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
Bitvavo identifier of the order.
1be6d0df-d5dc-4b53-a250-3376f3b393e6Your identifier of the cancelled order. Only returned if specified in the request.
2be7d0df-d8dc-7b93-a550-8876f3b393e9.Your identifier for the trader or the bot within your account that made the request.
1{
"orderId": "1be6d0df-d5dc-4b53-a250-3376f3b393e6",
"clientOrderId": "2be7d0df-d8dc-7b93-a550-8876f3b393e9.",
"operatorId": 1
}
For error codes, see Handle errors.