Domain name for API request: sms.tencentcloudapi.com.
- Note: because of the improved security of TencentCloud API 3.0, API authentication is more complicated. We recommend you use the Tencent Cloud SMS service with the SDK.
- You can run this API directly in API 3.0 Explorer, which eliminates the signature calculation steps. After it is executed successfully, API Explorer can automatically generate SDK code samples.
A maximum of 1 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
|Common Params. The value used for this API: DeleteSmsTemplate.
|Common Params. The value used for this API: 2021-01-11.
|Common Params. For more information, please see the list of regions supported by the product.
|ID of the template to be deleted.
|Template deletion response
|The unique request ID, which is returned for each request. RequestId is required for locating a problem.
POST / HTTP/1.1
<Common request parameters>
"DeleteStatus": "return successfully!"
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
|Failed to parse the request packet. Usually, this is because that the API specification was not followed. Please see Detailed Explanation of Request Body Parsing Error 1004.
|Failed to parse the request body.
|This template ID has not been submitted for approval or does not exist, so it cannot be modified. Please check whether the
TemplateId is entered correctly.
|Individual users cannot use the APIs related to signatures and templates. You can change your account identity type to enterprise as instructed here. The change will take effect in about one hour.
|Other error. Usually, this is because that the carried parameter is non-compliant. For more information, see the API description. If necessary, you can contact SMS Helper for assistance.
|The template ID does not exist.
|Other error. You can contact SMS Helper and provide the failed mobile number for assistance.
|The request was initiated in an exceptional time. Usually, this is because that the difference between your server time and Tencent Cloud server time exceeds 10 minutes. Please check whether the server time and the time field in the API are correct.
|This RESTful API does not exist. Please check the RESTful API description.
|Backend check of
|The request to deliver an SMS message timed out. Please see Detailed Explanation of Error 60008.
|The requesting IP is not in the allowlist. You have configured the verification of request source IP, but the current requesting IP is not in the configured allowlist. If necessary, you can contact SMS Helper.
|The request does not have permission. You can contact SMS Helper.
SdkAppId is forbidden to provide services. If necessary, you can contact SMS Helper.
|The request is not supported.