---
title: "List all explicity created privileges for the repository."
method: GET
path: "/repos/{owner}/{identifier}/privileges"
tags: ["repos"]
---

# List all explicity created privileges for the repository.

`GET /repos/{owner}/{identifier}/privileges`

List all explicity created privileges for the repository.

## Query parameters

- `page` integer
- `page_size` integer

## Response `200`

Retrieved privileges for the specified repository

- RepositoryPrivilegeInput
  - `privileges` RepositoryPrivilegeDict[], required — List of objects with explicit privileges to the repository.
    - `privilege` 'Admin' | 'Write' | 'Read', required — The level of privilege that the user or team should be granted to the specified repository.
    - `service` string, slug — The service identifier (slug).
    - `team` string, slug — The team identifier (slug).
    - `user` string, slug — The user identifier (slug).

## Other responses

- `400` — Request could not be processed (see detail).
- `404` — Owner namespace or repository not found
- `422` — Missing or invalid parameters (see detail).

---

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