Was this helpful?
Remove custom template by it's filename.
/templates/phones/{filename}/destroy
Template XML file name for phone provisioning.
curl -L \ --request POST \ --url 'https://HOSTNAME:8887/api/templates/phones/{filename}/destroy' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No body