Delete an Email Template API
On this page
This API is used to delete an Email Template. You must specify the Id of the Email Template on the URI.
Request#
DELETE/api/email/template/{emailTemplateId}
OpenAPI Spec
Request Parameters#
emailTemplateId UUID required The Id of the Email Template to delete.
Response#
This API does not return a JSON response body.
Response Codes| Code | Description |
|---|---|
| 200 | The request was successful. |
| 400 | The request was invalid and/or malformed. The response will contain an Errors JSON Object with the specific errors. This status will also be returned if a paid FusionAuth license is required and is not present. |
| 401 | You did not supply a valid Authorization header. The header was omitted or your API key was not valid. The response will be empty. See Authentication. |
| 404 | The object you requested doesn't exist. The response will be empty. |
| 500 | There was an internal error. A stack trace is provided and logged in the FusionAuth log files. The response will be empty. |
Related
APIs
API documentation for the FusionAuth Create an Email Template API.
email templatetransactional emailsmtp
APIs
Learn about the APIs for creating, retrieving, updating and deleting email templates as well as sending emails to users.
email templatetransactional emailsmtp
APIs
API documentation for the FusionAuth Preview an Email Template API.
email templatetransactional emailsmtp
APIs
API documentation for the FusionAuth Retrieve an Email Template API.
email templatetransactional emailsmtp