Delete a Template

A Template can only be deleted when all of its Fragments have also been deleted.

KeyDescription
VONAGE_APPLICATION_ID

The Vonage Application ID.

VONAGE_APPLICATION_PRIVATE_KEY_PATH

Private key path.

JWT

Used to authenticate your request. See Authentication for more information, including how to generate a JWT.

TEMPLATE_ID

The custom template ID

Write the code

Add the following to delete-template.sh:

View full source

Run your code

Save this file to your machine and run it:

sh delete-template.sh