Delete an SMS template

Delete an SMS template

DELETE/api/v1/sms/templates/{id}

DELETE /sms/templates/{id}
curl -X DELETE 'https://www.unitpost.com/api/v1/sms/templates/tmpl_123' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0'

Permanently delete an SMS template. Refused with 409 while any campaign references it, and with resource_in_use while a live automation sends it. Requires the templates:write capability.

Parameters1 field
FieldTypeDescription
idrequiredstring · path—
204401403404409

Search docs and guides

Search the docs and product guides.