---
title: "Query ResourceGroups"
method: GET
path: "/resourceGroups"
tags: ["ResourceGroup"]
---

# Query ResourceGroups

`GET /resourceGroups`

Used to query ResourceGroups

## Query parameters

- `parent_namespace` 'workspaces', required — Namespace of the parent to which this ResourceGroup belongs
- `parent_id` string, required
- `resource_namespace` string
- `resource_id` string
- `short_name` string

## Response `200`

Results of the query

- ResourceGroupQueryResult
  - `resource_groups` ResourceGroup[] — All ResourceGroups that matched the query
    - `id` string — Unique ID of the ResourceGroup
    - `short_name` string — Short name of the ResourceGroup
    - `namespaced_name` string — Fully qualified name of the ResourceGroup that includes the parent_id
    - `parent_id` string — ID of the parent to which this ResourceGroup belongs
    - `parent_namespace` 'workspaces' — Namespace of the parent to which this ResourceGroup belongs
    - `parent` string — Fully qualified parent to which this ResourceGroup belongs
    - `description` string — A short description of the ResourceGroup
    - `created_time` integer — Time at which the ResourceGroup was created
    - `created_by_id` string — The ID of the user who created this ResourceGroup
    - `last_updated_time` integer — Time at which the ResourceGroup was last updated
    - `last_updated_by_id` string — The ID of the user who last updated this ResourceGroup

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
