orgs

Update a package license policy.

Update a package license policy.

put/orgs/{org}/license-policy/{slug_perm}/

Request

  • Base URL
    https://api.cloudsmith.io
  • Auth
    • API key in header X-Api-Key
    • or HTTP basic

Request body

allow_unknown_licensesboolean
descriptionstring nullable
namestring required
on_violation_quarantineboolean
package_query_stringstring nullable
spdx_identifiersstring[] required

Response

OK

allow_unknown_licensesboolean
created_atstring date-time
descriptionstring nullable
namestring required
on_violation_quarantineboolean
package_query_stringstring nullable
slug_permstring slug
spdx_identifiersstring[] required
updated_atstring date-time

Changes

No recorded changes to this operation across all 6 revisions of this API.