orgs

Partially update a package deny policy.

Partially update a package deny policy.

patch/orgs/{org}/deny-policy/{slug_perm}/

Request body

descriptionstring nullable
enabledboolean

Whether this rule is enabled or disabled.

namestring nullable
package_query_stringstring

Packages that match this query will trigger this deny rule.

Response

OK

action'Block downloads'
created_atstring date-time
descriptionstring nullable
enabledboolean

Whether this rule is enabled or disabled.

namestring nullable
package_query_stringstring required

Packages that match this query will trigger this deny rule.

slug_permstring slug
status'Pending' | 'In Progress' | 'Complete' | 'Cancelled' | 'Errored'
updated_atstring date-time

Changes

No recorded changes to this endpoint across all 1 revision of this API.