delete
https://partner.gupshup.io/partner/bizgate/app//template/
Deletes a WhatsApp message template on an app, identified by its element name and optionally by a specific template id when multiple variants share the same name.
Request parameters
Path parameters
| Key | Description | Values | Data Type | Required/Optional |
|---|---|---|---|---|
| appId | Identifier of the WhatsApp app the call acts on. | 6f414190-d45c-4671-bca1-fb6c3018cb13 | String | Required |
| elementName | Template element name | hello_world | String | Required |
Query parameters
| Key | Description | Values | Data Type | Required/Optional |
|---|---|---|---|---|
| templateId | Optional HSM template id | tpl-1001 | String | Optional |
Sample cURL — Delete template by element name.
curl --request DELETE \
--url 'https://partner.gupshup.io/partner/bizgate/app/6f414190-d45c-4671-bca1-fb6c3018cb13/template/hello_world?templateId=tpl-1001' \
--header 'Authorization: Bearer <UT>' \
--header 'Accept: application/json'Sample success response (200)
{
"status": "success"
}Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…