Templates

Delete a snippet

Templates that still include the snippet keep rendering — an absent snippet renders as an empty string, exactly like an absent variable.

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

delete/api/snippets/{id}

Request

  • Base URL: https://api.sendly.now
  • URL: https://api.sendly.now/api/snippets/{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

Response

Snippet deleted

successtrue required

Changes

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