---
title: "Fetch a user's permissions"
method: GET
path: "/api/v1beta1/users/{username}/permissions"
tags: ["users", "rbac"]
---

# Fetch a user's permissions

`GET /api/v1beta1/users/{username}/permissions`

## Query parameters

- `cursor` string, base64
- `limit` integer

## Response `200`

User permissions

- object — Pagination info
  - `count` integer, required — Number of items in the current page
  - `next_cursor` string, required — Opaque cursor to access the next page. Can be `null` if there are no more pages
  - `offset` integer — Offset representing the current page
  - `items` Permission[]
    - `subject` string, guid — The subject the permission is granted to. Can be omitted in relative paths like `/users/{username}/permissions` as it will be overwritten by the relative subject itself.
    - `object` string, guid, required — The object this permission is granted over
    - `action` string, required — The action that is permitted on the object

## Other responses

- `401` — Authentication failed
- `404` — A user with the given username doesn't exist

---

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