Delete Topic
Important
This API is obsolete and retired as of 11/1/2021 and should no longer be used.
Delete an existing topic. This operation also removes all associated state, including messages in the topic.
Request
Method | Request URI | HTTP version |
---|---|---|
DELETE | https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{Namespace}/Topics/{Topic Path} | HTTP/1.1 |
Request Headers
Request Header | Description |
---|---|
x-ms-version | 2012-03-01 |
The request also requires a client certificate. This certificate must match the certificate you uploaded for that particular subscription.
Request Body
None.
Response
The response includes an HTTP status code and a set of response headers.
Response Codes
Code | Description |
---|---|
200 | Topic deleted successfully. It doesn't mean that the topic is completely deleted upon the return of the API call. This code means that it's marked for deletion. |
401 | Authorization failure. |
404 | The specified topic doesn't exist. |
500 | Internal error. |
For information about status codes, see Status and Error Codes.
Response Headers
None.
Response Body
None.