Deletes the specified LiveChannel.

Request syntax

DELETE /ChannelName?live HTTP/1.1
Date: GMT date
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Authorization: SignatureValue

Detail analysis

  • A DeleteLiveChannel request fails only when a client is pushing a stream to the LiveChannel.
  • DeleteLiveChannel only deletes the LiveChannel but not the files generated by the streams pushed to the LiveChannel.

Examples

Request example

DELETE /test-channel?live HTTP/1.1
Date: Thu, 25 Aug 2016 07:32:26 GMT
Host: test-bucket.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS YJjHKOKWDWINLKXv:ZbfvQ3XwmYEE8O9CX8kwVQYNbzQ=

Response example

HTTP/1.1 204
content-length: 0
server: AliyunOSS
connection: close
x-oss-request-id: 57BE9F0AB92475920B0023E0
date: Thu, 25 Aug 2016 07:32:26 GMT