Export (0) Print
Expand All

Delete Notification Hub

Updated: August 12, 2013

Deletes a notification hub.

 

Method Request URI HTTP version

DELETE

https://{namespace}.servicebus.windows.net/{Path to Notification Hub}?api-version=2013-08

HTTP/1.1

Request Headers

The following table describes required and optional request headers.

 

Request Header Description

Content-Type

application/xml;type=entry;charset=utf-8

Authorization

Token generated as specified in Shared Access Signature Authentication with Service Bus, or Service Bus authentication and authorization with Windows Azure Active Directory Access Control (also known as Access Control Service or ACS).

x-ms-version

2013-08

Request Body

None.

The response includes an HTTP status code and a set of response headers.

Response Codes

 

Code Description

200

Notification hub deleted successfully.

400

Invalid request body. The notification hub could not be deleted because the request was malformed (or the validation failed).

401

Authorization failure. The access key was incorrect.

404

Not found. The node does not contain a notification hub.

For information about status codes, see Status and Error Codes.

Response Headers

None.

Response Body

None.

Community Additions

Show:
© 2014 Microsoft