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

# Delete order

> Delete an order by its ID

Delete an order by its ID

### Path parameters

<ParamField path="id" type="string" required>
  Order ID
</ParamField>

### Responses

<ResponseField name="204" type="object">
  Order deleted successfully
</ResponseField>

<ResponseField name="401" type="ErrorResponse">
  Unauthorized
</ResponseField>

<ResponseField name="403" type="ErrorResponse">
  Forbidden
</ResponseField>

<ResponseField name="404" type="ErrorResponse">
  Order not found
</ResponseField>

<ResponseField name="429" type="ErrorResponse">
  Rate limit exceeded
</ResponseField>

<ResponseField name="500" type="ErrorResponse">
  Internal server error
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request DELETE \
    --url 'https://api.stateset.com/api/v1/orders/{id}' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>
