Skip to content

Remove an allowlist entry

DELETE
/api/v1/policy/{registry_type}/allowlist/{package}
curl --request DELETE \
--url https://api.pkgplease.com/api/v1/policy/example/allowlist/example \
--header 'Authorization: Bearer <token>'
registry_type
required
string

One of the org's configured registry types (npm is the one in active use).

package
required
string

URL-encoded package name

Removed