Skip to content

DeleteTemplateOptions

Defined in: src/resources/templates.ts:65

Options for TemplatesResource.delete.

optional businessAccountId?: string

Defined in: src/resources/templates.ts:71

The WABA id to delete against; defaults to the configured one.


name: string

Defined in: src/resources/templates.ts:67

The template name (required). Deletes all versions unless a id is given.


optional templateId?: string

Defined in: src/resources/templates.ts:69

A specific template id (maps to hsm_id) to delete a single version.

Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.