Web Tests - Delete

Deletes an Application Insights web test.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}?api-version=2022-06-15

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

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

subscriptionId
path True

string

The ID of the target subscription.

webTestName
path True

string

The name of the Application Insights WebTest resource.

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

Successful request to delete a web test definition.

204 No Content

No content: the request was successful, but the response is empty (the request to delete failed because the specified web test does not exist).

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

webTestDelete

Sample request

DELETE https://management.azure.com/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/webtests/my-webtest-01-mywebservice?api-version=2022-06-15

Sample response