> ## 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-all-after`

#### 请求限制

参见 [速率限制详细](/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 '{
  "timeout":10,
  "symbol":"BTCUSDT"
}'
https://cloud-api.wooxpro.com/contract/private/cancel-all-after
```

| 参数      | 类型     | 是否必填 | 描述                         |
| :------ | :----- | :--- | :------------------------- |
| timeout | Int    | 必填   | 限时取消时间(单位秒,最小值：5秒)，0代表取消设置 |
| symbol  | String | 必填   | 合约交易对（如BTCUSDT）            |

#### 响应详情

code 返回 1000 表示设置成功。

> 响应

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

| 字段           | 类型   | 描述                |
| :----------- | :--- | :---------------- |
| result       | Bool | 是否设置成功 true/false |
| set\_time    | Int  | 设置时间，时间戳          |
| cancel\_time | Int  | 第一次触发取消时间，时间戳     |
