---
title: "Get allowed actions for a project"
method: GET
path: "/management/v1/project/actions"
tags: ["project"]
---

# Get allowed actions for a project

`GET /management/v1/project/actions`

## Request

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

## Query parameters

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

## Headers

- `x-project-id` string, nullable

## Response `200`

- GetLakekeeperProjectActionsResponse
  - `allowed-actions` LakekeeperProjectActionKind[], required
    - union
      - object
        - `action` 'create_warehouse', required
      - object
        - `action` 'delete', required
      - object
        - `action` 'rename', required
      - object
        - `action` 'get_metadata', required
      - object
        - `action` 'list_warehouses', required
      - object
        - `action` 'include_in_list', required
      - object
        - `action` 'create_role', required
      - object
        - `action` 'list_roles', required
      - object
        - `action` 'search_roles', required
      - object
        - `action` 'get_endpoint_statistics', required
      - object
        - `action` 'modify_task_queue_config', required
      - object
        - `action` 'get_task_queue_config', required
      - object
        - `action` 'get_project_tasks', required
      - object
        - `action` 'control_project_tasks', 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)
