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 the Email Template identified by the Id on the URI.

Global API Key Authentication
Delete an Email Template By Id
DELETE/api/email/template/{emailTemplateId}
OpenAPI Spec

Path Parameters#

emailTemplateId
  • Type: UUID
  • Required

The Id of the Email Template to delete.

Response#

This API does not return a JSON response body.

Response Codes
CodeDescription
200The request succeeded.
400The request was invalid or malformed. The response contains an Errors JSON object with the specific errors. FusionAuth also returns a 400 when the request needs a paid FusionAuth license and no license is present.
401FusionAuth didn't authorize the request. The Authorization header is missing, the API key isn't valid, or the API key doesn't have permission for this endpoint and method. The response is empty. For more information, see Unauthorized Responses.
404The object you requested doesn't exist. The response is empty.
500FusionAuth had an internal error and logged a stack trace in the FusionAuth log files. The response is empty.