sinch-api-templates-delete

Delete an omni-channel message template by ID via the Sinch Template Management API V2.

6|2|Updated Dec 11, 2025
One-click install
npx skills add https://github.com/sinch/sinch-plugins --skill sinch-api-templates-delete-sinch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sinch-api-templates-delete
Source: https://github.com/sinch/sinch-plugins/tree/main/plugins/sinch-antigravity-plugin/skills/sinch-api-templates-delete
Command: npx skills add https://github.com/sinch/sinch-plugins --skill sinch-api-templates-delete-sinch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Removing outdated or unused message templates from a Sinch Conversation API project normally requires manual dashboard navigation or hand-crafted API calls; this Skill performs the deletion directly from the terminal with built-in confirmation safeguards. ## Core Features & Use Cases - Template Deletion by ID: Deletes an omni-channel message template through the Sinch Template Management API V2 endpoint. - Confirmation Safeguard: Prompts for explicit confirmation before deletion unless the --force flag is supplied, preventing accidental removals. - Error Handling: Reports clear messages for 404 (template not found) and 401 (authentication) responses. - Use Case: A developer cleaning up test templates after a campaign can run the command with a template ID and confirm the deletion in one step. ## Quick Start Ask the assistant to delete the Sinch message template with a given template ID, optionally adding the force flag to skip confirmation.

Frequently Asked Questions about sinch-api-templates-delete

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delete a Sinch message template by ID?

Run the command with the template ID, for example --id=01F8MECHZX3TBDSZ7XRADM79XE. The Skill sends a DELETE request to /v2/projects/{project_id}/templates/{template_id} and asks for confirmation unless you pass --force.

How to skip the confirmation prompt when deleting a Sinch template?

Add the --force or -f flag to the command. This bypasses the interactive confirmation step and deletes the template immediately, so use it only when you are certain of the template ID.

What credentials are required for the Sinch Template Management API?

You need the CONVERSATION_PROJECT_ID, CONVERSATION_KEY_ID, CONVERSATION_KEY_SECRET, and CONVERSATION_REGION environment variables configured. Without them, the Skill reports that the Sinch API is not configured.

What happens if the Sinch template ID does not exist?

The API returns a 404 response and the Skill reports that the template was not found. A 401 response indicates an authentication problem with your access key credentials.

Can I list templates before deleting one?

Yes. If you run the command without arguments, the Skill asks for a template ID and can optionally list existing templates to help you choose the correct one to delete.