Delete email template

Deletes a template. One that was ever published is archived instead: its versions may back mail already sent. Either way it can't be sent or read again, and its alias is free for another template.

DELETE
/email/templates/{template}

Deletes a template. One that was ever published is archived instead: its versions may back mail already sent. Either way it can't be sent or read again, and its alias is free for another template.

Authorization

headerAuthorizationBearer <Relevate API key>

Relevate API key scoped to the operation's product and environment.

Path Parameters

template*string

Alias or id

Response Body

Deleted, or archived when it was ever published (archived: true).

Example Request
curl -X DELETE 'https://api.relevate.app/email/templates/string'
Example Response
Empty