Delete template by element name

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

KeyDescriptionValuesData TypeRequired/Optional
appIdIdentifier of the WhatsApp app the call acts on.6f414190-d45c-4671-bca1-fb6c3018cb13StringRequired
elementNameTemplate element namehello_worldStringRequired

Query parameters

KeyDescriptionValuesData TypeRequired/Optional
templateIdOptional HSM template idtpl-1001StringOptional

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Identifier of the WhatsApp app the call acts on.

string
required

Template element name

Query Params
string

Optional HSM template id

Responses

Language
Credentials
Bearer
Universal Token (UT)
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json