# Bulk delete contents

**Publié le** : 2026-05-08
**Catégorie** : Core CMS

## `POST /contents/bulk/delete`

**Bulk delete contents**

Permanently deletes multiple contents. This action is irreversible.

Required permissions: `contents.delete`

### Request Body

Content-Type: `application/json`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `ids` | string[] | Yes | Required. 1-100 characters. Array of strings |


### Responses

| Status | Description |
| --- | --- |
| `201` | Successful response |
| `401` | Unauthorized — invalid or missing API token |
| `403` | Forbidden — insufficient permissions |
| `422` | Validation error |


> **Notes:** - Maximum 50 IDs per request.
> 
> - Associated revisions, translations, and category/tag associations are also deleted.

### Examples

```bash
curl -X POST https://api.lynkow.com/v1/contents/bulk/delete \
  -H "Authorization: Bearer $API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"ids": [50, 51]}'
```

### Response Example

```json
{
  "deleted": 2
}
```

---