Endpoints - Delete

Deletes a Traffic Manager endpoint.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}?api-version=2022-04-01

URI Parameters

Name In Required Type Description
endpointName
path True

string

The name of the Traffic Manager endpoint to be deleted.

endpointType
path True

EndpointType

The type of the Traffic Manager endpoint to be deleted.

profileName
path True

string

The name of the Traffic Manager profile.

resourceGroupName
path True

string

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string

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

api-version
query True

string

Client Api Version.

Responses

Name Type Description
200 OK

DeleteOperationResult

The Traffic Manager Endpoint was deleted successfully.

204 No Content

The Traffic Manager Endpoint does not exist. It could have been deleted on a previous request.

Other Status Codes

CloudError

Default response. It will be deserialized as per the Error definition.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Endpoint-DELETE-External

Sample request

DELETE https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficmanagerprofiles/azsmnet6386/ExternalEndpoints/azsmnet7187?api-version=2022-04-01

Sample response

{}

Definitions

Name Description
CloudError

An error returned by the Azure Resource Manager

CloudErrorBody

The content of an error returned by the Azure Resource Manager

DeleteOperationResult

The result of the request or operation.

EndpointType

The type of the Traffic Manager endpoint to be deleted.

CloudError

An error returned by the Azure Resource Manager

Name Type Description
error

CloudErrorBody

The content of the error.

CloudErrorBody

The content of an error returned by the Azure Resource Manager

Name Type Description
code

string

Error code

details

CloudErrorBody[]

Error details

message

string

Error message

target

string

Error target

DeleteOperationResult

The result of the request or operation.

Name Type Description
boolean

boolean

The result of the operation or request.

EndpointType

The type of the Traffic Manager endpoint to be deleted.

Name Type Description
AzureEndpoints

string

ExternalEndpoints

string

NestedEndpoints

string