---
title: "Delete Country"
description: "Use DELETE /countries/{country} to delete one country. The operation documented here is Country.delete."
canonical: https://docs.ordering.co/api-reference/guides/delete-country/
---

# Delete Country

> **API operation:** [Open the endpoint in Scalar](https://docs.ordering.co/api-reference/#tag/countries/DELETE/countries/{country})

Use `DELETE /countries/{country}` to delete one country. The operation documented here is `Country.delete`.

The documented schema restricts deletion to role levels `0` and `1`. Resolve the country identifier and its dependent data before sending this destructive request.

## Legacy SDK example

```javascript
const response = await ordering.countries(countryId).delete()
```

Confirm the SDK package and version before using this helper.

## OpenAPI reference

**Operation:** `DELETE /countries/{country}`

**Path parameters**

| Name      | Type    | Required | Description |
| --------- | ------- | -------- | ----------- |
| `country` | integer | Yes      | —           |

**Responses**

| Code | Description                           |
| ---- | ------------------------------------- |
| 200  | OK (Envelope)                         |
| 400  | Bad Request (ErrorResponse)           |
| 401  | Unauthorized                          |
| 404  | Not Found                             |
| 429  | Too Many Requests (ErrorResponse)     |
| 500  | Internal Server Error (ErrorResponse) |
| 503  | Service Unavailable (ErrorResponse)   |

[Open this operation in the API reference](https://docs.ordering.co/api-reference/#tag/countries/DELETE/countries/{country})
