Delete Template
DELETE
/v1/templates/{id}Delete a template, returning 204.
Authentication
Send Authorization: Bearer <API_KEY> in the request headers; required scope: templates:manage. Which resources an API Key can reach is determined by its current authorization scope.
Request
Base URL: https://api.bluehola.com
Parameters
| Name | In | Required | Type / constraints | Description |
|---|---|---|---|---|
id | path | Yes | string | The platform's template ID, tmpl_... |
Response
| Status | Description |
|---|---|
204 | No Content |
4xx | Client error |
For the common error envelope and how to handle it, see Error Codes.
Notes
Deletion calls out to Meta first to delete the template by name (Meta's semantics delete every language version of that name under the WABA), and only removes the local row once that succeeds. If the call to Meta fails, the whole operation fails, so you never end up with an inconsistent state where the local row is gone but the Meta side still exists, or vice versa.