Registry
PolicyPacks

ListPolicyPacks

Lists all policy packs accessible to the calling user, with support for filtering by access level, organization, and specific policy pack IDs. The request body accepts an optional orgLogin to scope results to a specific organization, an optional access level filter (defaults to 'enabled'), and an optional list of policy pack IDs to restrict the results to specific packs. No authentication is required. Returns 400 if the access filter value is invalid.

post/api/registry/policypacks

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/registry/policypacks
  • Auth: none declared

Request body

access'added' | 'available' | 'enabled' | 'private'

The access of the policy packs to list. Default is enabled.

idsstring[]

A list of policy pack IDs to list. If specified, only the policy packs with the specified IDs will be listed. If not specified, all policy packs will be listed.

orgLoginstring

The canonical name of the organization to list policy packs for.

Response

OK

continuationTokenstring

ContinuationToken can be used to fetch the next page of results. If nil, there are no more results available.

Changes

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