---
title: "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}"
method: DELETE
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}"
tags: ["Environments"]
---

# DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}

`DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}`

Deletes the environment with the specified name in the specified subscription and resource group.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `environmentName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The environment was successfully deleted.

## Other responses

- `204` — The environment was successfully deleted.
- `default` — HTTP 404 (Not Found): The subscription, resource group, or environment could not be found.

---

[API](https://skmtc.net/azure/apis/timeseriesinsights-microsoft-timeseriesinsights.md) · [All operations](https://skmtc.net/azure/apis/timeseriesinsights-microsoft-timeseriesinsights/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/timeseriesinsights-microsoft-timeseriesinsights/revisions/92f1ef79365f/schema)
