---
title: "Get plugin access permissions"
method: GET
path: "/plugins/{owner}/{name}/permissions"
tags: ["Plugins"]
---

# Get plugin access permissions

`GET /plugins/{owner}/{name}/permissions`

Retrieve a plugin's access permissions (must have `write` permission)

## Path parameters

- `owner` string, required
- `name` string, required

## Query parameters

- `page` integer — Page number starting from 1
- `per-page` integer — Number of items per page
- `subject_type` string[] — The type of access policy subject
- `permission` string[] — An access policy permission string

## Response `200`

Retrieved

- RepositoryAccessPolicyList — A list response from a pagination request
  - `page` integer, required — The current page the pagination request is on
  - `per_page` integer, required — The number of pages per pagination request
  - `next_page` integer — The next page, if this on is not the last
  - `page_count` integer, required — The total number of pages
  - `total_count` integer, required — The total number of resources matching the list request
  - `resources` RepositoryAccessPolicy[], required
    - `subject` PolicySubject, required
      - `subject_type` 'user' | 'team', required — An enumeration.
      - `name` string, required — The name of the policy subject
    - `permission` 'admin' | 'write' | 'read', required — An enumeration.

## Other responses

- `400` — Invalid request
- `403` — Access forbidden
- `422` — Validation Error
- `500` — Server error

---

[API](https://skmtc.net/pollination/apis/pollination-server.md) · [All operations](https://skmtc.net/pollination/apis/pollination-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pollination/pollination-server/revisions/c1f3c6d96b31/schema)
