Skip to main content

DeleteMedia

To delete a media file associated with a business phone.

Request Parameters

NameTypeDescriptionRequired
ActionstringValue: DeleteMedia.YES
AccountIdintAccount Id.YES

Request Example

{
"Action": "DeleteMedia",
"accountId": 8899,
"BusinessPhone": "86150xxxxx987",
"MediaId":"76576xxxxxx5028"
}

Response Parameters

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

Response Example

{
"Action": "DeleteMediaResponse",
"Message": "",
"RequestId": "ddf52c54-47f5-43a3-b924-a084a4e52bde",
"RetCode": 0
}