Access Policies - Delete
Deletes the access policy with the specified name in the specified subscription, resource group, and environment
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}?api-version=2020-05-15
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
access
|
path | True |
string |
The name of the Time Series Insights access policy associated with the specified environment. |
environment
|
path | True |
string |
The name of the Time Series Insights environment associated with the specified resource group. |
resource
|
path | True |
string |
Name of an Azure Resource group. |
subscription
|
path | True |
string |
Azure Subscription ID. |
api-version
|
query | True |
string |
Version of the API to be used with the client request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The access policy was successfully deleted. |
|
204 No Content |
The access policy was successfully deleted. |
|
Other Status Codes |
HTTP 404 (Not Found): The subscription, resource group, environment, or access policy could not be found. |
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
AccessPoliciesDelete
Sample Request
Sample Response
Definitions
Name | Description |
---|---|
Cloud |
Contains information about an API error. |
Cloud |
Describes a particular API error with an error code and a message. |
CloudError
Contains information about an API error.
Name | Type | Description |
---|---|---|
error |
Describes a particular API error with an error code and a message. |
CloudErrorBody
Describes a particular API error with an error code and a message.
Name | Type | Description |
---|---|---|
code |
string |
An error code that describes the error condition more precisely than an HTTP status code. Can be used to programmatically handle specific error cases. |
details |
Contains nested errors that are related to this error. |
|
message |
string |
A message that describes the error in detail and provides debugging information. |
target |
string |
The target of the particular error (for example, the name of the property in error). |