# Delete a content

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

## `DELETE /contents/:id`

**Delete a content**

Permanently deletes a content and all its revisions. This action is
irreversible. Consider archiving instead if you may need the content later.

Required permissions: `contents.delete`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | Yes | Unique identifier |


### Responses

| Status | Description |
| --- | --- |
| `204` | Deleted (no body) |
| `401` | Unauthorized — invalid or missing API token |
| `403` | Forbidden — insufficient permissions |
| `404` | Not found |


> **Notes:** - Triggers `content.deleted` webhook.
> 
> - Associated category/tag links are removed.

### Examples

```bash
curl -X DELETE https://api.lynkow.com/v1/contents/42 \
  -H "Authorization: Bearer $API_TOKEN"
```

### Response Example

```json
{
  "message": "Content deleted"
}
```

---