Limit order cancellation

delete
https://api.cryptomus.com/v2/user-api/exchange/orders/{orderId}
COPY

Request

Query parameters

NameParameter typeDefinition
orderId*stringOrder ID in the system

Parameter type

string

Definition

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}
COPY

Possible errors

Example responses:


1{
2  "state": 5,
3  "message": "Order not found"
4}
COPY


1{
2  "state": 0,
3  "message": "Standard validation error"
4}
COPY

Response example with error


1{
2  "code": 5,
3  "message": "Order 01JF0NE1AXA5SS3NSP2EGJ0ARS not found."
4}
COPY