Delete MMS Template
Invoke the DeleteMMSTemplate API to remove an MMS template.
- After deleting the MMS template, any pending activities using this template will fail.
- Exercise caution when deleting MMS templates, as the operation is irreversible.
Request Parameters
Parameter name | Type | Description | Required |
---|---|---|---|
Action | string | Value: DeleteMMSTemplate. | Yes |
AccountId | int | Project ID, Get AccountId. | Yes |
TemplateIds | []string | List of template IDs to be deleted. | Yes |
Response Elements
Parameter name | Type | Description | Required |
---|---|---|---|
RetCode | int | When RetCode is not 0, the specific error description is displayed in Message. If RetCode is 0, Message will not be returned. | Yes |
Action | string | Operation name. | Yes |
Message | string | When RetCode is not 0, the specific error description is displayed in Message. | Yes |
Request Example
curl --request POST 'https://api.uspeedo.com/api' \
--header 'Content-Type: application/json' \
-d '{
"Action": "DeleteMMSTemplate",
"AccountId": 1,
"TemplateIds": ["TemplateId1", "TemplateId2"]
}'
Response Example
{
"Action": "DeleteMMSTemplateResponse",
"Message": "",
"RetCode": 0
}