Templates

Delete a template

Delete the template. Answers 409 conflict while a workflow step or an active campaign (DRAFT, SCHEDULED or SENDING) still points at it — removing it would leave those referring to content that no longer exists, and the failure would surface at send time instead of here. The emails already sent from this template are NOT erased.

Requires the templates:write scope — Create, edit, and delete your email templates.

delete/api/v1/templates/{id}

Request

  • Base URL: https://api.sendly.now
  • URL: https://api.sendly.now/api/v1/templates/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie better-auth.session_token
    • OAuth 2 (authorization code, authorization URL https://app.sendly.now/api/auth/oauth2/authorize, token URL https://app.sendly.now/api/auth/oauth2/token, scopes: templates:write)

Path parameters

idstring uuid required

Resource id.

Response

Template deleted

deletedtrue required
idstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.