# Delete a product

`DELETE https://api.cademi.com.br/api/v3/products/{product_id}`

Operation ID: `products.delete` · API v3

Moves the product to the trash, together with its modules, its lessons, and its copies in replicated accounts. Users' access and reports related to the product are preserved.

Restoring the product does not restore its copies in replicated accounts.

Replicated products are read-only and cannot be deleted; these requests return the `replica_readonly` error code.

Required permissions: `products.delete`.

## Parameters

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

## Responses

### 204

The product 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 product was not found or is not accessible with the current credentials.

Body: Error.

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