---
title: "Delete order"
method: DELETE
path: "/accounts/{account_id}/orders/{order_id}"
tags: ["Orders"]
---

# Delete order

`DELETE /accounts/{account_id}/orders/{order_id}`

Attempts to cancel an existing order. Cancelling an order cannot be guaranteed as there might be in-flight executions.

## Path parameters

- `account_id` string, required — Account ID for the account.
- `order_id` string, required — Unique order ID assigned by us.

## Response `201`

Order cancel successfully attempted.

## Other responses

- `default` — Error response

---

[API](https://skmtc.net/clear-street/apis/common-api-models.md) · [All operations](https://skmtc.net/clear-street/apis/common-api-models/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clear-street/common-api-models/versions/05b4df42c056/schema)
