---
title: "Partially update a package license policy."
method: PATCH
path: "/orgs/{org}/license-policy/{slug_perm}/"
tags: ["orgs"]
---

# Partially update a package license policy.

`PATCH /orgs/{org}/license-policy/{slug_perm}/`

Partially update a package license policy.

## Request body

- OrganizationPackageLicensePolicyRequestPatch
  - `allow_unknown_licenses` boolean
  - `description` string, nullable
  - `name` string
  - `on_violation_quarantine` boolean
  - `package_query_string` string, nullable
  - `spdx_identifiers` string[]

## Response `200`

OK

- OrganizationPackageLicensePolicy
  - `allow_unknown_licenses` boolean
  - `created_at` string, date-time
  - `description` string, nullable
  - `name` string, required
  - `on_violation_quarantine` boolean
  - `package_query_string` string, nullable
  - `slug_perm` string, slug
  - `spdx_identifiers` string[], required
  - `updated_at` string, date-time

## Other responses

- `400` — Request could not be processed (see detail).
- `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)
