Skip to content

Get org policy

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

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

Policy object

Media typeapplication/json
object
Examplegenerated
{}

Unsupported registry type

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}