---
title: "Deletes a Category by ID"
method: DELETE
path: "/categories/{id}"
tags: ["Category"]
---

# Deletes a Category by ID

`DELETE /categories/{id}`

Deletes the Category with the requested ID.

## Path parameters

- `id` integer, required

## Response `204`

Category with requested ID was deleted

## Other responses

- `400` — invalid input, data invalid
- `404` — resource not found
- `409` — conflicting resources
- `500` — unexpected error

---

[API](https://skmtc.net/ent/apis/my-simple-api.md) · [All operations](https://skmtc.net/ent/apis/my-simple-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ent/my-simple-api/versions/f1e79a433c8f/schema)
