curl -X DELETE "https://api.telzino.com/v1/sms-templates/3f2a0000-0000-0000-0000-000000000000" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{ "data": { "id": "3f2a...", "deleted": true } }
{ "error": "Only archived templates can be deleted. Archive it first." }
{ "error": "In use by Front Desk Agent. Remove it from those agents before deleting." }
SMS Templates
Delete SMS Template
Permanently deletes an archived SMS template. Only archived templates that no agent references can be deleted.
DELETE
/
v1
/
sms-templates
/
{templateId}
curl -X DELETE "https://api.telzino.com/v1/sms-templates/3f2a0000-0000-0000-0000-000000000000" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{ "data": { "id": "3f2a...", "deleted": true } }
{ "error": "Only archived templates can be deleted. Archive it first." }
{ "error": "In use by Front Desk Agent. Remove it from those agents before deleting." }
Path Parameters
string
required
The template’s UUID. Must belong to one of the account’s organizations, else
404. A value
that is not a UUID at all is rejected earlier, with 400 invalid templateId.The template must be archived first (
PATCH with status: "archived"). Deleting a template still referenced by an agent’s Send SMS configuration is blocked with 409.curl -X DELETE "https://api.telzino.com/v1/sms-templates/3f2a0000-0000-0000-0000-000000000000" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{ "data": { "id": "3f2a...", "deleted": true } }
{ "error": "Only archived templates can be deleted. Archive it first." }
{ "error": "In use by Front Desk Agent. Remove it from those agents before deleting." }
