---
title: "Delete a business category"
description: "Use DELETE /business/{business_id}/categories/{category_id} to delete a category."
canonical: https://docs.ordering.co/api-reference/guides/delete-category/
---

# Delete a business category

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

Use `DELETE /business/{business_id}/categories/{category_id}` to delete a category. The operation documented here is `Category.delete`.

The documented schema requires administrator or business-manager authentication and verifies the category/business context. Deletion is destructive and can affect nested catalog organization; resolve both IDs before sending a request.

```javascript
const response = await ordering.businesses(businessId).categories(categoryId).delete()
```

This SDK syntax is historical. Confirm the package and version before using it.

## OpenAPI reference

**Operation:** `DELETE /business/{business_id}/categories/{category_id}`

**Path parameters**

| Name          | Type    | Required | Description |
| ------------- | ------- | -------- | ----------- |
| `business_id` | integer | Yes      | —           |
| `category_id` | 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/business/DELETE/business/{business_id}/categories/{category_id})
