# Delete a site block

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

## `DELETE /site-blocks/:slug`

**Delete a site block**

Permanently deletes a site block and all its revisions.

Required permissions: `site_blocks.delete`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `slug` | path | string | Yes | URL-friendly identifier, unique per site and locale |


### Responses

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


### Examples

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

### Response Example

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

---