Delete SMS template
DELETE/sms/templates/{id}
Removes the template from the workspace. An automation Send SMS block still linked to it will fail at run time until it is pointed at another template, so unlink it in the builder first.
Requires
Authorization: Bearer <api_key>. Create a key in the Inspra dashboard under Workspace Settings → API Keys.Path parameters
- idstringrequiredUUID of the resource.
Response 200 OK
Deleted.
- deletedbooleanoptional
- idstringuuidoptional
Errors
- 401UnauthorizedMissing, malformed, or invalid API key.
- 403ForbiddenWorkspace unavailable, suspended, or paywalled.
- 404Not FoundResource not found in this workspace.
- 429Too Many RequestsWorkspace request limit exceeded; shared across all its API keys.