---
title: "Grant access to the license pool"
method: PATCH
path: "/licenses/pools/{pool_id}/permissions"
tags: ["Licenses"]
---

# Grant access to the license pool

`PATCH /licenses/pools/{pool_id}/permissions`

## Path parameters

- `pool_id` string, uuid, required

## Request body

- LicensePoolAccessPolicyList
  - `resources` LicensePoolAccessPolicy[] — The list of policies granting access to the pool
    - `subject` PolicySubject, required
      - `subject_type` 'user' | 'team', required — An enumeration.
      - `name` string, required — The name of the policy subject
    - `permission` 'admin' | 'write' | 'read' — An enumeration.

## Response `200`

Successful Response

- LicensePoolPublic
  - `id` string, uuid, required — The ID of the pool
  - `license_id` string, required — The ID of the license to which the pool provides access
  - `owner` AccountPublic, required
    - `id` string, required
    - `account_type` string, required
    - `name` string, required
    - `display_name` string
    - `description` string
    - `picture_url` string — https://robohash.org/ladybugbot
  - `accessors` Accessor[] — The entities that can access the license though the pool
    - `subject` union, required
      - AccountPublic
        - `id` string, required
        - `account_type` string, required
        - `name` string, required
        - `display_name` string
        - `description` string
        - `picture_url` string — https://robohash.org/ladybugbot
      - Team
        - `name` string, required
        - `description` string
        - `id` string, required — The team ID
        - `slug` string, required — The public slug of the team
        - `member_count` integer — The number of members that are part of this team
    - `permission` 'admin' | 'write' | 'read', required — An enumeration.
  - `permissions` UserPermission, required
    - `admin` boolean — The user has admin permission to this resource
    - `write` boolean — The user has write permission on this resource
    - `read` boolean — The user has read permission on this resource
  - `product` string, required — The pollination product to which this pool provides access
  - `description` string — The description of the pool
  - `total_activations` integer, required — The number of current activations for this license
  - `allowed_activations` integer, required — The number of allowable activations for this license

## Other responses

- `422` — Validation 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)
