---
title: "Send cancel order transaction through One Click"
method: DELETE
path: "/api/v1/orders/{orderId}/send"
tags: ["Trading Orders"]
---

# Send cancel order transaction through One Click

`DELETE /api/v1/orders/{orderId}/send`

## Request

- Base URL: `https://rwa-api.anchored.finance/rwa/trading`
- URL: `https://rwa-api.anchored.finance/rwa/trading/api/v1/orders/{orderId}/send`
- Auth: one of:
  - API key in header `x-api-key`
  - API key in header `x-api-nonce`
  - API key in header `x-api-ts`
  - API key in header `x-api-sign`
  - API key in header `x-api-chain-id`
  - API key in header `x-api-p`
- TypeScript: <https://skmtc.dev/synfutures/apis/anchored-trading-partner-api/docs/api/v1/orders/:orderId/send/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `orderId` string, required

## Query parameters

- `deadline` integer, required
- `gasLimit` integer

## Response `200`

OK

- BaseResponseOneClickTradeTxResDto: Base Response
  - `code` integer: if not 200, it means error
  - `errMsg` string: if code not 200,this is error message
  - `data` OneClickTradeTxResDto
    - `uuid` string
    - `txHash` string
  - `uuid` string: every request has a uuid
  - `t` integer: server time

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/synfutures/apis/anchored-trading-partner-api.md) - [All operations](https://skmtc.dev/synfutures/apis/anchored-trading-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synfutures/apis/anchored-trading-partner-api/revisions/8df20ab57300?raw)
