---
title: "Get user and role assignments of the server"
method: GET
path: "/management/v1/permissions/server/assignments"
tags: ["permissions-openfga"]
---

# Get user and role assignments of the server

`GET /management/v1/permissions/server/assignments`

## Request

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

## Query parameters

- `relations` ServerRelation[]

## Response `200`

- GetServerAssignmentsResponse
  - `assignments` ServerAssignment[], required
    - union
      - object: Id of the user
        - `user` string, required: Id of the user
        - `type` 'admin', required
      - object: Id of the role
        - `role` string, uuid, required: Id of the role
        - `type` 'admin', required
      - object: Id of the user
        - `user` string, required: Id of the user
        - `type` 'operator', required
      - object: Id of the role
        - `role` string, uuid, required: Id of the role
        - `type` 'operator', required

---

[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)
