Delete an email template

DELETE /api/email-templates/{id}

Delete an email template by its ID.

Path parameters

  • id string Required

    The unique identifier of the email template.

Responses

  • The email template was deleted successfully.

  • Bad Request

  • Unauthorized

  • Forbidden

  • The email template was not found.

DELETE /api/email-templates/{id}
curl \
 --request DELETE https://[tenant_id].logto.app/api/email-templates/{id} \
 --header "Authorization: Bearer $ACCESS_TOKEN"