# Delete a banner

`DELETE https://api.cademi.com.br/api/v3/banners/{banner_id}`

Operation ID: `banners.delete` · API v3

Moves the banner to the trash instead of permanently deleting it. Trashed banners can be restored through the update operation.

Replicated banners are read-only and cannot be deleted. Attempts to delete them return `403` with the `replica_readonly` error code.

Required permissions: `banners.delete`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `banner_id` | path | string | yes |  |

## Responses

### 204

The banner was moved to the trash.

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The banner was not found or is not accessible with the current credentials.

Body: Error.

Full schema: https://cademi.dev/openapi/v3.json
