Skip to main content

DeleteTemplate

To delete a template associated with a business phone.

Request Parameters

NameTypeDescriptionRequired
ActionstringValue: DeleteTemplate.YES
AccountIdintAccount Id.YES
BusinessPhonestringPhone number of template.YES
NamestringTemplate name (The multilingual template with the same name will be deleted.)YES

Request Example

{
"Action": "DeleteTemplate",
"accountId": 8899,
"BusinessPhone": "86150xxxx87",
"Name":"embedded_test_232504140249178"
}

Response Parameters

NameTypeDescription
ActionstringDeleteTemplateResponse.
RetCodeint0 for success. Error Codes.
MessagestringMessage.
RequestIdstringRequest Id.
DataobjectReturn data.

Response Example

{
"Action": "DeleteTemplateResponse",
"Message": "",
"RequestId": "c2bc8aa1-2bfe-4a92-b8aa-2c6fac8968e2",
"RetCode": 0
}