Installs into .claude/skills of the current project.
Are you the author of Sinch Api Templates Delete?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sinch-sinch-api-templates-delete)
---
name: sinch-api-templates-delete
description: Delete a message template via Sinch Template Management API (V2)
---
# Delete Message Template
Delete an omni-channel message template by ID using the Sinch Template Management API V2.
**IMPORTANT: Execute this command directly. Do NOT generate script files. Perform the API call immediately.**
## Input
- `--id` / `-i`: Template ID to delete - required
- `--force` / `-f`: Skip confirmation - optional
Arguments: $ARGUMENTS
## Instructions
**Execute these steps directly - do not write code or scripts:**
0. If $ARGUMENTS empty: ask for template ID. Optionally list templates to help user choose. Otherwise parse.
1. Validate: --id (non-empty). If not --force, confirm with user: "Delete template {id}? Type 'yes' to confirm."
2. Get CONVERSATION_* env vars. Template API: https://{region}.template.api.sinch.com. If missing, report "Sinch API is not configured."
3. DELETE https://{region}.template.api.sinch.com/v2/projects/{projectId}/templates/{template_id} with OAuth2.
4. On success: "✅ Template deleted". Handle 404 (not found), 401 with clear messages.
5. Handle all errors gracefully.
## Examples
```
/sinch-api-templates-delete --id=01F8MECHZX3TBDSZ7XRADM79XE
/sinch-api-templates-delete -i TEMPLATE_ID --force
```
## API Reference
- **Endpoint**: DELETE /v2/projects/{project_id}/templates/{template_id}
- **Documentation**: https://developers.sinch.com/docs/conversation/templates/