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

# Delete Event Category

> Delete an event category. Its events are kept without a category.

## Path Parameters

**id** `integer` *required*

The ID of the category to delete

> [!NOTE]
>
> Events in the deleted category are not deleted. They are left without a category.

## Example Request

```bash theme={null}
DELETE /wp-json/latepoint-api/v1/events/categories/2
Authorization: Bearer YOUR_API_KEY
```

## Response

```json theme={null}
{
  "success": true,
  "message": "Event category deleted successfully"
}
```

## Error Response

```json theme={null}
{
  "code": "event_category_not_found",
  "message": "Event category not found",
  "data": {
    "status": 404
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.