Skip to main content
DELETE
/
dynamic_templates
/
{id}
Delete a dynamic template
curl --request DELETE \
  --url https://api.paubox.net/v1/{api_username}/dynamic_templates/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Template deleted successfully"
}

Authorizations

Authorization
string
header
required

Paubox API uses Bearer token authentication in the Authorization header.

Format: Authorization: Bearer YOUR_API_KEY_HERE

Example: Authorization: Bearer 9e5b092b632445b8f570c62ae54f30fda1044305

The legacy format Authorization: Token token=YOUR_API_KEY_HERE is also supported.

Path Parameters

id
string
required

Template ID to delete

Response

Template deleted successfully

message
string
Example:

"Template deleted successfully"