---
title: "Delete Category"
method: POST
path: "/calcul-exercises/delete-category"
tags: ["Calcul Exercises"]
---

# Delete Category

`POST /calcul-exercises/delete-category`

Delete a category and all its templates.
Deletes all templates that start with the given category path.
Admin only.

WARNING: This permanently deletes all templates and variations in the category!

## Request body

- DeleteCategoryInput — Input model for deleting a category
  - `category_path` string[], required — Category path to delete

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/ef67479ed898/schema)
