Limit order cancellation
delete
https://api.cryptomus.com/v2/user-api/exchange/orders/{orderId}
Request
Query parameters
Name | Parameter type | Definition |
---|---|---|
orderId* | string | Order ID in the system |
Parameter type
stringDefinition
Order ID in the system
* - mandatory parameter
Possible codes
200: The order was successfully created
404: User or resource not found
422: Invalid input data
500: Internal server error
Response example
1{
2 "success": true
3}
COPYPossible errors
Example responses:
1{
2 "state": 5,
3 "message": "Order not found"
4}
COPY
1{
2 "state": 0,
3 "message": "Standard validation error"
4}
COPYResponse example with error
1{
2 "code": 5,
3 "message": "Order 01JF0NE1AXA5SS3NSP2EGJ0ARS not found."
4}
COPY