---
title: "GET /resources/{resource_id}/groups"
method: GET
path: "/resources/{resource_id}/groups"
tags: ["resources"]
---

# GET /resources/{resource_id}/groups

`GET /resources/{resource_id}/groups`

Returns a list of groups that grant access to the resource

## Path parameters

- `resource_id` string, uuid, required

## Response `200`

The groups that grant access to the resource.

- GroupResourceList
  - `group_resources` GroupResource[], required
    - `group_id` string, uuid, required — The ID of the group.
    - `resource_id` string, uuid, required — The ID of the resource.
    - `group_name` string — The name of the group
    - `resource_name` string — The name of the resource
    - `expiration_date` string, date-time, nullable — The day and time the group's access will expire.
    - `access_level` ResourceAccessLevel, required — # Access Level Object ### Description The `AccessLevel` object is used to represent the level of access that a principal has. The "default" access level is a `AccessLevel` object whose fields are all empty strings. ### Usage Example View the `AccessLevel` of a resource/user or resource/group pair to see the level of access granted to the resource.
      - `access_level_name` string, required — The human-readable name of the access level.
      - `access_level_remote_id` string, required — The machine-readable identifier of the access level.

---

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