---
api: 'Revolut X Crypto Exchange REST API'
---

# Cancel order by ID

Cancel an active order by its Venue ID.

## Endpoint

DELETE `/orders/{venue_order_id}`

## Parameters

### header parameters

- `X-Revx-Timestamp` (integer, required)
  Current timestamp in Unix epoch milliseconds. 
  Used to prevent replay attacks and construct the signature.
  Provided with other authentication headers.

- `X-Revx-Signature` (string, required)
  The Ed25519 signature of the request. 
  Provided with other authentication headers.
  
  :::tip
  See **Authentication headers: Signing a request** for details on how to generate this.
  :::

### path parameters

- `venue_order_id` (string, required)
  Unique identifier (UUID) of the venue order.

## Returns

### 204

OK - Order deleted successfully.

## Error responses

| HTTP status code | Description |
| --- | --- |
| 400 | Bad request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 409 | Conflict |
| 429 | Rate Limit Exceeded |
| 5XX | Server Error |
