---
title: "List resource groups"
method: GET
path: "/v1/locations/{locationId}/resource-groups"
tags: ["Resources"]
---

# List resource groups

`GET /v1/locations/{locationId}/resource-groups`

## Request

- Base URL: `https://api.cliento.com`
- URL: `https://api.cliento.com/v1/locations/{locationId}/resource-groups`
- Auth: HTTP bearer

The groups the location's resources are listed under, in display order.

## Path parameters

- `locationId` string, required

## Query parameters

- `limit` integer
- `after` string

## Response `200`

OK

- ResourceGroupList
  - `data` ResourceGroup[], required
    - `id` string, required
    - `locationId` string, required
    - `name` string, required
  - `nextCursor` string: Pass as `after` to fetch the next page. Absent on the last page.

## Other responses

- `default`: Any failure. See the Errors section.

---

[API](https://skmtc.dev/cliento/apis/cliento-api.md) · [All operations](https://skmtc.dev/cliento/apis/cliento-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cliento/apis/cliento-api/revisions/29ca811bc061?raw)
