---
title: "Delete a configuration"
description: "Use DELETE /configs/{config} to remove one configuration by its numeric identifier."
canonical: https://docs.ordering.co/api-reference/guides/delete-config/
---

# Delete a configuration

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

Use `DELETE /configs/{config}` to remove one configuration by its numeric identifier. The operation documented here is `Config.delete`.

The final path parameter `config` identifies the configuration to delete; confirm its ID and project before sending the request.

The documented route is restricted to server or administrator access. Deletion is a destructive operation: resolve the exact configuration ID and confirm the intended project before sending the request.

## Legacy SDK example

```javascript
const response = await ordering.configs(configId).delete()
```

Confirm the SDK package and version before using this helper.

## OpenAPI reference

**Operation:** `DELETE /configs/{config}`

**Path parameters**

| Name     | Type    | Required | Description |
| -------- | ------- | -------- | ----------- |
| `config` | 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/configs/DELETE/configs/{config})
