MepMail Docs
Referência da APIEndpointsTemplatesId

Delete a template

DELETE
/templates/{id}

Deletes a template; broadcasts keep their own copy.

AuthorizationBearer <token>

An API key from the dashboard (ms_…), sent as Authorization: Bearer. A sending-only key reaches the /emails routes only.

In: header

Path Parameters

id*string

Template id or alias

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/templates/string"
{  "object": "template",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "deleted": true}