---
title: "Get resource access levels"
method: GET
path: "/resources/{resource_id}/access_levels"
tags: ["resources"]
---

# Get resource access levels

`GET /resources/{resource_id}/access_levels`

Returns the list of access levels defined for the resource. Resources that only offer default (unnamed) access return an empty list.

## Path parameters

- `resource_id` string, uuid, required

## Response `200`

The access levels defined for the resource.

- ResourceAccessLevelList — A list of access levels defined for a resource.
  - `results` ResourceAccessLevel[]
    - `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.

## Other responses

- `404` — Resource not found.

---

[API](https://skmtc.dev/opal/apis/opal-api.md) · [All operations](https://skmtc.dev/opal/apis/opal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opal/opal-api/revisions/16339a4fd3c7/schema)
