---
title: "Get allowed actions on a user"
method: GET
path: "/management/v1/user/{user_id}/actions"
tags: ["user"]
---

# Get allowed actions on a user

`GET /management/v1/user/{user_id}/actions`

## Request

- Base URL: `https://localhost`
- URL: `https://localhost/management/v1/user/{user_id}/actions`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/docs/management/v1/user/:user_id/actions/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `user_id` string, required

## Query parameters

- `principalUser` string
- `principalRole` string, uuid

## Response `200`

- GetLakekeeperUserActionsResponse
  - `allowed-actions` LakekeeperUserAction[], required
    - union
      - object
        - `action` 'read', required
      - object
        - `action` 'update', required
      - object
        - `action` 'delete', required
      - object
        - `action` 'read_role_assignments', required

## Other responses

- `4XX`

---

[API](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api.md) - [All operations](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/revisions/c5cb9a12a98c?raw)
