src/BaiduBce/Services/Vod/VodClient.php
public function deleteMedia($mediaId, $options = array())
    {
        list($config) = $this->parseOptions($options, 'config');

        if (empty($mediaId)) {
            throw new BceClientException("The parameter mediaId should NOT be null or empty string");
        }

        return $this->sendRequest(
            HttpMethod::DELETE,
            array(
                'config' => $config,
            ),
            "/media/$mediaId"
        );
    }
public function deleteMedia($mediaId, $options = array())
    {
        list($config) = $this->parseOptions($options, 'config');

        if (empty($mediaId)) {
            throw new BceClientException("The parameter mediaId should NOT be null or empty string");
        }

        return $this->sendRequest(
            HttpMethod::DELETE,
            array(
                'config' => $config,
            ),
            "/media/$mediaId"
        );
    }
public function deleteMedia ( $ mediaId , $ options = array ( ) ) { list ( $ config ) = $ this -> parseOptions ( $ options , 'config' ) ; if ( empty ( $ mediaId ) ) { throw new BceClientException ( "The parameter mediaId should NOT be null or empty string" ) ; } return $ this -> sendRequest ( HttpMethod :: DELETE , array ( 'config' => $ config , ) , "/media/$mediaId" ) ; }
delete a vod media

@param $mediaId string, mediaId of the media
@param array $options Supported options:
{
config: the optional bce configuration, which will overwrite the
default vod client configuration that was passed in constructor.
}
@return mixed the result of deleting
@throws BceClientException
delete a vod media