Delete Topic

Delete an existing topic. This operation also removes all associated state, including messages in the topic.


Method Request URI HTTP version
DELETE{subscription ID}/services/ServiceBus/Namespaces/{Namespace}/Topics/{Topic Path} HTTP/1.1

Request Headers

Request Header Description
x-ms-version 2012-03-01

Note that the request also requires a client certificate. This certificate must match the certificate you uploaded for that particular subscription.

Request Body



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

Response Codes

Code Description
200 Topic deleted successfully. This does not mean that the topic is completely deleted upon the return of the API call. It means that it is marked for deletion.
401 Authorization failure.
404 The specified topic does not exist.
500 Internal error.

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

Response Headers


Response Body