edit-icon download-icon

DeleteMedia

Last Updated: Feb 08, 2018

Description

The DeleteMedia API deletes media. This API only deletes media logically, but does not delete the input/output physical files stored in OSS buckets.

Request parameters

Parameter Type Required or not Description
Action String Yes API of the action, system required parameter. Set this parameter to DeleteMedia.
MediaIds String Yes A list of media IDs separated by commas (,). A maximum of 10 media IDs can be entered at a time.

Return parameters

None

Example

Request example

  1. http://mts.cn-hangzhou.aliyuncs.com?MediaIds=3e1cd21131a94525be55acf65888bf46&<public parameter>

Return example

XML

  1. <DeleteMediaResponse>
  2. <RequestId>CFEF84B7-A57F-480F-B7FD-E0A649C76086</RequestId>
  3. </DeleteMediaResponse>

JSON

  1. {
  2. "RequestId":"CFEF84B7-A57F-480F-B7FD-E0A649C76086"
  3. }
Thank you! We've received your feedback.