Sign inGet Started

Delete a language from the draft

DELETE
/v1/whatsapp/templates/{template_ref}/versions/{version_id}/languages/{language}
await bird.whatsapp.templates.versions.languages.delete(
  "order_update",
  "wav_01krdgeqcxet5s7t44vh8rt9mg",
  "es",
);

Removes one language from the template's draft. The template's default language cannot be removed, and a language under active review at Meta refuses removal until that review finishes. Meta is not told until the draft is submitted, and the version a send resolves is unaffected until then.

Parameters

template_refstring

Template ID (wat_ prefix) or slug. A value that parses as a valid ID resolves by ID; any other value resolves as a slug.

version_idstring

ID of the template version (wav_ prefix), as returned by the version list.

languagestring

The language, as a BCP-47 tag. Case and separator variance is accepted and normalised, and the canonical form is returned.

Continue with the documentation, guides and examples for this topic.