# List package store locations

Source: https://www.jawsdeploy.net/rest-api/workspaces-list-regions | Section: Workspaces

List the active regions a workspace's package store can be pinned to.

`GET /api/workspace/regions`

Lists the active **package store locations** (regions) available for new workspaces. Use the returned `regionId` as the `regionId` when you [create a workspace](https://www.jawsdeploy.net/rest-api/workspaces-create). The list is environment-specific: an installation with no extra regions configured returns an empty list, in which case every workspace uses the default location.

## Errors

| Status | Meaning |
|---|---|
| 401 | Missing or invalid Basic auth credentials. |

Example request:

```
GET /api/workspace/regions HTTP/1.1
Authorization: Basic <base64(...)>
```

Example response:

```
{
  "regions": [
    { "regionId": "eu", "name": "Europe" },
    { "regionId": "au", "name": "Australia" }
  ]
}
```

