---
title: "Get current user permissions."
method: GET
path: "/users/current/permissions"
tags: ["user"]
---

# Get current user permissions.

`GET /users/current/permissions`

## Query parameters

- `scope` string
- `relative` boolean

## Headers

- `X-Request-Id` string

## Response `200`

Get current user permission successfully.

- Permission[]
  - `resource` string — The permission resoruce
  - `action` string — The permission action

## Other responses

- `401` — User need to log in first.
- `500` — Internal errors.

---

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