Delete MMS-ID API
deleteMMSID
Synopsis
Deletes an MMS template whose mms-id is defined in the XML. All contents in the MMS template will be deleted immediately. In the case of Optimized MMS, the transcoded files will be also deleted.
Request: XML
<REQUEST>
<ACTION>deleteMMSID</ACTION>
<API_KEY>apiKey</API_KEY>
<MMSID>mmsid</MMSID>
</REQUEST>
Request Parameters
| Term |
Mandatory/Optional |
Description |
ACTION |
Mandatory |
This is the name of the function you want to execute with the API. |
API_KEY |
Mandatory |
Random key that is assigned to an account that can be used for authorization instead of USER/PASS. You can find and regenerate this key on the ‘API Settings’ page. |
MMSID |
Mandatory |
The ID (bigint) of a saved MMS. |
Response Parameters
| Param Name |
Presence |
Description |
STATUS |
Always |
“Success” or “Failure”. |
MMSID |
Success response only |
The ID (bigint) of a saved MMS. |
ERRORCODE |
Error response only |
Error code associated with the error. |
ERRORINFO |
Error response only |
Error message explaining the error code. |
Request Example: XML
<REQUEST>
<ACTION>deleteMMSID</ACTION>
<API_KEY>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</API_KEY>
<MMSID>35674</MMSID>
</REQUEST>
Response Example: Success
<RESPONSE>
<STATUS>Success</STATUS>
<MMSID>35674</MMSID>
</RESPONSE>
Response Example: Failure
<RESPONSE>
<STATUS>Failure</STATUS>
<ERRORCODE>E241</ERRORCODE>
<ERRORINFO>This content does not exist.</ERRORINFO>
</RESPONSE>
General Error Codes
| Code |
Description |
E100 |
Invalid request. Make a valid request via GET/POST/XML with all the required variables. |
E104 |
User Authentication Failed. |
E105 |
This account has no API rights. |
E106 |
You can call API every X seconds. |
E107 |
This account has no rights to use this action. |
E108 |
XML Parse error: $error. |
E109 |
API not activated. |
E112 |
IP was not whitelisted. API call rejected. |
E113 |
Set throughput exceeded for this API action. API call rejected. |
E114 |
Phone number is blacklisted. API call rejected. |
E120 |
Account has reached the API request limit. |
E503 |
Internal error. |
| Code |
Description |
E241 |
This content does not exist. |
E620 |
The ‘mmsid’ is required. |