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>';

๐Ÿ“ฆ Sample JSON Response