---
title: "Bulk delete contentlets by identifier"
method: DELETE
path: "/api/v1/maintenance/_contentlets"
tags: ["Maintenance"]
---

# Bulk delete contentlets by identifier

`DELETE /api/v1/maintenance/_contentlets`

## Request

- Base URL: `https://docs.anzworldline-solutions.com.au`
- URL: `https://docs.anzworldline-solutions.com.au/api/v1/maintenance/_contentlets`
- Auth: none declared
- TypeScript: <https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/docs/api/v1/maintenance/_contentlets/delete.ts> (a function with typed inputs; its response is checked against the schema)

Permanently destroys contentlets and all their language siblings. Bypasses trash. Each contentlet is destroyed independently — one failure does not block others.

## Request body

- DeleteContentletsForm: List of contentlet identifiers to permanently destroy
  - `identifiers` string[], required: List of contentlet identifiers. All language siblings of each identifier will be permanently destroyed.

## Response `200`

Bulk deletion completed

- ResponseEntityDeleteContentletsResultView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` DeleteContentletsResultView
    - `deleted` integer, required: Number of contentlets successfully destroyed
    - `errors` string[], required: Identifiers of contentlets that failed to be destroyed
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `400`: Bad request - missing or empty identifiers
- `401`: Unauthorized - authentication required
- `403`: Forbidden - CMS Administrator role required

## Changes

- **2026-10-30** `4fd8e917d458`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/changes/api/v1/maintenance/_contentlets/delete.md)

---

[API](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api.md) - [All operations](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/revisions/4fd8e917d458?raw)
