Event Hubs - Delete
Deletes an Event Hub from the specified Namespace and resource group.
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}?api-version={api-version}
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
authorizationRuleName
|
path | True |
|
The authorization rule name. |
|
consumerGroupName
|
path | True |
|
The consumer group name |
|
subscriptionId
|
path | True |
|
Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
|
resourceGroupName
|
path | True |
|
Name of the resource group within the azure subscription. |
|
namespaceName
|
path | True |
|
The Namespace name |
|
eventHubName
|
path | True |
|
The Event Hub name |
|
api-version
|
query | True |
|
Client API Version. |
Responses
| Name | Type | Description |
|---|---|---|
| 204 No Content |
No content. |
|
| 200 OK |
Event Hub successfully deleted. |
Examples
EventHubDelete
Sample Request
DELETE https://management.azure.com/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-sdk-Namespace4919/eventhubs/sdk-EventHub4839?api-version=2015-08-01