Delete Template

Use this API to delete a template using the elementName

You will need below details to start using this API.
NOTE: This action is irreversible. Once a template has been deleted, it cannot be restored.

  1. App ID
  2. Partner App Token
  3. Element Name


AuthorizationAccess Token for the applicationRequiredString{{PARTNER_APP_TOKEN}}
APP IDUnique Identifier for Gupshup AppRequiredString{{APP_ID}}
ELEMENT NAMETemplate element name, refer Get template by id apiRequiredString{{ELEMENT_NAME}}

Sample Request

curl --location --request DELETE '{{APP_ID}}/template/{{ELEMENT_NAME}}' \
--header 'Authorization: {{PARTNER_APP_TOKEN}}'

Sample Response

            "status": "success"
Click Try It! to start a request and see the response here!