---
title: "Get all App Service Environments for a subscription."
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments"
tags: ["AppServiceEnvironments"]
---

# Get all App Service Environments for a subscription.

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments`

Get all App Service Environments for a subscription.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK

- AppServiceEnvironmentCollection — Collection of App Service Environments.
  - `value` AppServiceEnvironmentResource[], required — Collection of resources. — unresolved $ref
  - `nextLink` string — Link to next page of resources.

## Other responses

- `default` — App Service error response.

---

[API](https://skmtc.dev/azure/apis/appserviceenvironments-api-client.md) · [All operations](https://skmtc.dev/azure/apis/appserviceenvironments-api-client/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/appserviceenvironments-api-client/revisions/ceadaf3376da/schema)
