Cancel order by id
Cancel a specific order using its unique ID.
The order's currency is inherited from its UUID.
Request
curl -X DELETE "https://trade.mudrex.com/fapi/v1/futures/orders/{order_id}" \
-H "X-Authentication: your-secret-key"Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | string | Yes | The unique identifier of the order (path parameter). |
Response
Status: 200 OK
{
"success": true,
"data": {
"message": "",
"order_id": "",
"status": ""
}
}Response fields
| Field | Description |
|---|---|
message | Status message. |
order_id | ID of the cancelled order. |
status | Status of the order. |
In testing, a successful INR cancellation returned
200 OKwith these data fields present but empty.
Errors
Common errors
Order already deleted — 400 Bad Request. Occurs when the order has already been cancelled or deleted.
Invalid order ID — 500 Internal Server Error. Occurs when the provided order ID is invalid or malformed.
