Delete a template

Deletes a template from the organization and returns a success flag. Use this endpoint to delete a template through the Samva email API.

DELETE
/v1/templates/{id}

Deletes a template from the organization and returns a success flag.

x-api-key<token>

In: header

Path Parameters

id*string
Match^tmpl_[0-9a-hjkmnp-tv-z]{16,24}$

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/templates/string"
{  "success": true}