Skip to navigation

Cancel orders for a pair

This endpoint takes a pair and attempts to cancel all opened orders that belong to the sub-account for this pair.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

subAccountIdstringRequiredformat: "uuid"

The unique identifier of the sub-account the order is belonging to.

pairIdstringRequiredformat: "uuid"
The unique identifier of the pair.

Response

A successful response.
cancelIdslist of stringsOptional
An array of unique cancel identifier.
failedOrderIdslist of stringsOptional
The unique identifier of the orders that have failed to be canceled.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error