Delete template by ID
Deletes a specific message template by its unique identifier for the authenticated customer with smart deletion strategy. Deletion behavior: - If template has NO messages: Permanently deleted from database (hard delete). - If template has messages: Marked as deleted but preserved for message history (soft delete with snapshot). The template must exist and belong to the authenticated customer to be deleted successfully. The customer ID is extracted from the authentication token.
curl -X DELETE "https://api.sent.dm/v2/templates/string" \ -H "x-sender-id: string" \ -H "x-api-key: string"Empty
Empty
Empty