v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-211931021.7 MB
Email Templates

Delete an Email Template

In ServiceM8, deleting a record sets its active field to 0. Inactive records are still accessible on the API, but are hidden in the UI. Inactive records can be restored by setting their active field to 1.

OAuth Scope

This endpoint requires the following OAuth scope manage_templates.

delete/emailtemplate/{uuid}.json

Path parameters

uuidstring uuid required

UUID of the Email Template

Response

Email Template successfully archived (soft deleted)

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}