Delete Template
Delete an existing message template from your account.
This action cannot be undone. The template will be permanently removed and cannot be used for future messages.
curl -X DELETE "https://accounts.netvox.ng/api/v2/Template?ApiKey=YOUR_API_KEY&ClientId=YOUR_CLIENT_ID&id=138"
Parameters
Your API key for authentication
Your client identifier for authentication
ID of the template to delete
Response
Error code (0 for success)
Description of the result
Success Response
{
"ErrorCode": 0,
"ErrorDescription": "Success",
"Data": "Template deleted Successfully."
}
Error Response
{
"ErrorCode": 028,
"ErrorDescription": "Can not be found"
}
Use Cases
- Cleanup: Remove unused or outdated templates
- Account management: Clean up template list
- Compliance: Remove templates that are no longer needed