Skip to main content
POST
ListPolicies

Authorizations

Authorization
string
header
required

A user session token or personal API key.

Headers

Connect-Protocol-Version
number
required

Define the version of the Connect protocol

Example:

1

Connect-Timeout-Ms
number

Define the timeout, in ms

Example:

1000

Body

application/json
pageSize
integer<int32>
Required range: 0 <= x <= 200
pageToken
string
query
string

Case-insensitive substring of the name, display name, or description, applied before paging.

Maximum string length: 256
resources
string[]

Optional canonical resource names. Filters to policies whose Cedar resource head constrains any of these entities, their types, or every resource. Omit to list all of the workspace's policies; this filter is not an authorization decision.

order
enum<string>
Available options:
POLICY_ORDER_UNSPECIFIED,
POLICY_ORDER_CREATED_DESCENDING,
POLICY_ORDER_NAME_ASCENDING

Response

Success

policies
Policy · object[]
nextPageToken
string