---
title: "Delete categories by inodes"
method: DELETE
path: "/api/v1/categories"
tags: ["Categories"]
---

# Delete categories by inodes

`DELETE /api/v1/categories`

Deletes one or more categories and all their children. Accepts a JSON array of category inodes.

## Request body

- string[]

## Response `200`

Bulk delete result returned

- ResponseEntityBulkResultView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` BulkResultView
    - `successCount` integer
    - `skippedCount` integer
    - `fails` FailedResultView[]
      - `element` string
      - `errorMessage` string
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `403` — Insufficient permissions

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
