WhatsApp Templates

Delete template by name

  Delete template that matches the name.

  If message templates with the same name exists in multiple languages, all those templates will also be deleted.      
  Once deleted the name can not be used for new message templates for 30 days. Use a different name to create future templates during that time period.
  Messages that have been sent with the deleted template, but not yet delivered, will be attempted to be deliver for 30 days from the time of the message.
delete/v1/projects/{projectId}/whatsapp/templates/{templateName}

Path parameters

projectIdstring required

The unique ID of the project. You can find this on the <a href="https://dashboard.sinch.com/">Sinch Dashboard</a>.

templateNamestring required

The unique name of the template.

Response

Template(s) deleted

Changes

Changed in 2 of the 4 revisions of this API.626

  • c6a937922d10625See the full diff
    • the response's body type/format changed from / to object/ for status 400

      response-body-type-changed

    • the response's body type/format changed from / to object/ for status 401

      response-body-type-changed

    • the response's body type/format changed from / to object/ for status 404

      response-body-type-changed

    • the response's body type/format changed from / to object/ for status 409

      response-body-type-changed

    • the response's body type/format changed from / to object/ for status 429

      response-body-type-changed

    • the response's body type/format changed from / to object/ for status 500

      response-body-type-changed

    • removed subschema #1: ProjectNotInitializedErrorTitle subschema #2: TemplateInvalidLanguageCodeErrorTitle from the response body oneOf list for the response status 400

      response-body-one-of-removed

    • added the optional property additionalInformation to the response with the 400 status

      response-optional-property-added

    • added the optional property additionalInformation to the response with the 401 status

      response-optional-property-added

    • added the optional property additionalInformation to the response with the 404 status

      response-optional-property-added

    • added the optional property additionalInformation to the response with the 409 status

      response-optional-property-added

    • added the optional property additionalInformation to the response with the 429 status

      response-optional-property-added

    • added the optional property additionalInformation to the response with the 500 status

      response-optional-property-added

    • the response property errorCode became required for the status 401

      response-property-became-required

    • the response property errorCode became required for the status 404

      response-property-became-required

    • the response property errorCode became required for the status 409

      response-property-became-required

    • the response property errorCode became required for the status 429

      response-property-became-required

    • the response property errorCode became required for the status 500

      response-property-became-required

    • the response property message became required for the status 401

      response-property-became-required

    • the response property message became required for the status 404

      response-property-became-required

    • the response property message became required for the status 409

      response-property-became-required

    • the response property message became required for the status 429

      response-property-became-required

    • the response property message became required for the status 500

      response-property-became-required

    • the response property resolution became required for the status 401

      response-property-became-required

    • the response property resolution became required for the status 404

      response-property-became-required

    • the response property resolution became required for the status 409

      response-property-became-required

    • the response property resolution became required for the status 429

      response-property-became-required

    • the response property resolution became required for the status 500

      response-property-became-required

    • added the required property errorCode to the response with the 400 status

      response-required-property-added

    • added the required property message to the response with the 400 status

      response-required-property-added

    • added the required property resolution to the response with the 400 status

      response-required-property-added

    • api operation id TemplatesController_deleteTemplatesByName_v1 removed and replaced with WhatsappTemplatesController_deleteTemplatesByName_v1

      api-operation-id-removed

Of the 4 revisions, 1 has no diff computed.