License Policy

License Policy List

Get a list of all package license policies.

Request

gethttps://api.cloudsmith.io/v1/orgs/{org}/license-policy
Query params
page
integer
A page number within the paginated result set.
page_size
integer
Number of results to return per page.

Response

Responses

OK

array of objects

object

allow_unknown_licenses
boolean
optional
created_at
date-time
optional
description
string | null
optional
length between 1 and 250
name
string
required
length between 1 and 100
on_violation_quarantine
boolean
optional
package_query_string
string | null
optional
length ≥ 1
slug_perm
slug
optional
^[-a-zA-Z0-9_]+$
length ≥ 1
spdx_identifiers
array of strings
required
Items must be unique
updated_at
date-time
optional

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional