delete https://partner.gupshup.io/partner/app//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.
- App ID
- Partner App Token
- Element Name
Parameters
Key | Description | Required | Type | Value |
---|---|---|---|---|
Authorization | Access Token for the application | Required | String | {{PARTNER_APP_TOKEN}} |
appId | Unique Identifier for Gupshup App | Required | String | {{APP_ID}} |
elementName | Template element name, refer Get template by id api | Required | String | {{ELEMENT_NAME}} |
Sample Request
curl --location --request DELETE 'https://partner.gupshup.io/partner/app/{{APP_ID}}/template/{{ELEMENT_NAME}}' \
--header 'Authorization: {{PARTNER_APP_TOKEN}}'
Sample Response
{
"status": "success"
}