> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clevrscan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Template

> Deletes an existing template by its ID. Once deleted, the template cannot be recovered.

### Request Format

**HTTP Request**

```http
DELETE /api/templates/{templateId}
X-API-Key: <api_key>
```

### Parameters

| Parameter  | Type   | Required | Description                         |
| ---------- | ------ | -------- | ----------------------------------- |
| templateId | String | Yes      | Unique ID of the template to delete |

<RequestExample>
  ```bash cURL
  curl -X DELETE "https://api.clevrscan.com/api/templates/396" \
    -H "X-API-Key: <api_key>"
  ```
</RequestExample>

<ResponseExample>
  ```json Sample Response
  {
    "message": "Template deleted successfully"
  }
  ```
</ResponseExample>
