Deletes a subscription.
Request
Each request consists of the following parts:
- Request line
DELETE /topics/$TopicName/subscriptions/$SubscriptionName HTTP/1.1
- Operation-specific request headers
None. For more information about common request headers, see Common parameters.
- Request Body
None.
Response
Each response consists of the following parts:
- HTTP Status Code
HTTP/1.1 204 No Content
If the subscription is deleted, the HTTP status code 204 is returned.
- Operation-specific response headers
None. For more information about common response headers, see Common parameters.
- Response Body
None.
Examples
Sample requests
DELETE /topics/$TopicName/Subscriptions/$SubscriptionName HTTP/1.1
Host: $AccountId.mns.cn-hangzhou.aliyuncs.com
Date: Tue, 08 Dec 2015 06:18:04 GMT
Authorization: MNS 15B4D3461F177624206A:UOEb7OmC9GX7G9BLY3XryP6vtjQ=
x-mns-version: 2015-06-06
Sample success responses
HTTP/1.1 204 No Content
x-mns-request-id: 5666761CB2B71C9C16000035
x-mns-version: 2015-06-06