Load Balancers - Delete

Deletes the specified load balancer.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}?api-version={api-version}

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

resourceGroupName
path True
  • string

The name of the resource group.

loadBalancerName
path True
  • string

The name of the load balancer.

api-version
query True
  • string

Client API version.

Responses

Name Type Description
204 No Content

Request successful. Resource does not exist.

Media Types: "application/json", "text/json"

202 Accepted

Accepted and the operation will complete asynchronously.

Media Types: "application/json", "text/json"

200 OK

Delete successful.

Media Types: "application/json", "text/json"

Examples

Delete load balancer

Sample Request

DELETE https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb?api-version=2017-09-01

Sample Response