SALES: 1-800-867-1380

Delete Namespace

Updated: May 15, 2015

Deletes an existing namespace. This operation also removes all associated entities including queues, topics, relay points, and messages stored under the namespace.


Method Request URI HTTP version

DELETE{subscription ID}/services/ServiceBus/Namespaces/{namespace name}


The name of the namespace to delete.


Request Header Description


Set to application/xml;type=entry;charset=utf-8.



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

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


Code Description


Namespace deleted successfully. This does not mean that the namespace is completely deleted at the return of the API call. It means that it is marked for deletion.


Authorization failure. Returned when user does not have credentials to delete that namespace. This could be due to suspended subscription.


Internal error.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft