Skip to main content

Delete SMS Template

API Description

Delete specified SMS templates. Supports batch deletion.

Request Information

Note: Parameters are passed via URL query string, format: ?id=template_id_1&id=template_id_2

idstringrequired
Template ID list as JSON array string or comma-separated values. Real API expects query parameters: ?id=template_id_1&id=template_id_2
?

LANGUAGE

CREDENTIALS

👁️
🔒
🔑Log in to get ACCESSKEY_ID and ACCESSKEY_SECRET

URL

DELETE
CURL Request
curl -X DELETE "https://api.uspeedo.com/api/v1/usms/USMSTemplate?id=template_id_1&id=template_id_2" \
-H "Accept: application/json" \
-H "Authorization: Basic $(echo -n 'ACCESSKEY_ID:ACCESSKEY_SECRET' | base64)"

RESPONSE

Click Try It! to start a request and see the response here.

Common Error Codes

Error CodeDescription
0Success
215392Parameter error
215396Template not found
215400Server error