> ## Documentation Index
> Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 取消单个合约订单 (SIGNED)

`适用于用户进行合约订单撤单`

#### 请求URL

`POST https://cloud-api.wooxpro.com/contract/private/cancel-order`

#### 请求限制

参见 [速率限制详细](/cn/rate-limit)

#### 请求参数

> 请求

```shell theme={null}
curl 
 -H 'X-API-KEY:{{AccessKey}}'
 -H 'X-API-TIMESTAMP:{{currentTime}}'
 -H 'X-API-SIGN:{{SIGN}}' 
 -X POST -d '{
  "symbol":"ETHUSDT",
  "order_id": "220906179559421"
}'
https://cloud-api.wooxpro.com/contract/private/cancel-order
```

| 参数                | 类型     | 是否必填 | 描述                                                            |
| :---------------- | :----- | :--- | :------------------------------------------------------------ |
| symbol            | String | 必填   | 合约交易对（如BTCUSDT）,如果不传order\_id和client\_order\_id，则会取消该交易对下所有订单 |
| order\_id         | String | 非必填  | 订单编号                                                          |
| client\_order\_id | String | 非必填  | 用户自定义ID                                                       |

#### 响应详情

code 返回 1000 表示撤销成功。

> 响应

```json theme={null}
{
  "code": 1000,
  "trace": "0cc6f4c4-8b8c-4253-8e90-8d3195aa109c",
  "message": "Ok",
  "data": {
  }
}
```
