---
title: "Cancel Order"
method: DELETE
path: "/v1/orders/{order_id}"
tags: ["orders"]
---

# Cancel Order

`DELETE /v1/orders/{order_id}`

Cancel an existing order.

Request cancellation of an order.
Returns 202 Accepted with order state - cancellation is processed asynchronously.

## Path parameters

- `order_id` string, uuid, required

## Response `202`

Successful Response

- CancelOrderResponse — Schema for cancel order response
  - `cancelled_river_order_ids` string[], required — List of cancelled river order identifiers
  - `failed_cancelled_reasons` object, required — Dictionary of failed to cancel river order identifiers and reasons

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/rivermarkets/apis/river-finance-api.md) · [All operations](https://skmtc.dev/rivermarkets/apis/river-finance-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rivermarkets/river-finance-api/revisions/42a5acd1d60a/schema)
