Skip to main content
GET
List policy rules

Authorizations

Authorization
string
header
required

Get access to data with your API token. Example header:

Authorization: Bearer 2991e2fb4b540fe75b8f90677b0b892b6314e4961cb001fe6eb452eee248a628

The token can be provisioned from the Tokens section in your Settings, and requires explicitly enabling Web API access.

Path Parameters

deploymentId
string<int64>
required

Deployment ID (numeric). Example: 123. Can be found at /deployments, or in your Settings in the web UI.

Example:

123

policyId
string<int64>
required

Policy ID (numeric). Example: 456. Can be found at /deployments/{deploymentId}/policies.

Example:

456

Query Parameters

cursor
string

Cursor to paginate through the rules. Provide a cursor value from the response to retrieve the next page.

limit
integer<int64>

Page size to paginate through the rules. The default page size is 500 and the maximum allowed page size is 2000.

Response

200 - application/json

OK

cursor
string

Cursor to paginate through the rules.

Example:

"Pm0ROjIwMjQtMDItMDYgMjA6MDQ6NDguMEDzNzk2fmk6NYTM2zUxOTI"

policy
Policy · object
rules
Rule · object[]

List of Rules for the given Policy.

Example: