---
title: "Gets all available geo-locations."
method: GET
path: "/subscriptions/{subscriptionId}/locations"
tags: ["Subscriptions"]
---

# Gets all available geo-locations.

`GET /subscriptions/{subscriptionId}/locations`

This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK - Returns an array of locations.

- LocationListResult — Location list operation response.
  - `value` Location[] — An array of locations.
    - `id` string — The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.
    - `subscriptionId` string — The subscription ID.
    - `name` string — The location name.
    - `displayName` string — The display name of the location.
    - `latitude` string — The latitude of the location.
    - `longitude` string — The longitude of the location.

---

[API](https://skmtc.net/azure/apis/subscriptionclient-3.md) · [All operations](https://skmtc.net/azure/apis/subscriptionclient-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/subscriptionclient-3/versions/fb352ef7c51a/schema)
