Delete a Template
Permanently delete a specific email template using its unique identifier.
๐๏ธ Delete a Template
Use this endpoint to remove a template from your account. This action is irreversible.
๐น HTTP Request
DELETE API-URL/templates/TEMPLATE-UNIQUE-ID๐ธ URL Segments
Segment
Required
Description
TEMPLATE-UNIQUE-ID
Yes
Unique ID of the template to delete.
๐ Authorization Header
X-API-KEY: your-api-key-here๐ป PHP Example
// DELETE TEMPLATE
$response = $endpoint->delete('TEMPLATE-UNIQUE-ID');
// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';