Skip to main content
GET
List policy rules for an organization

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

Required. String. The organization's internal ID (32-character hex string) or its externalSourceId. When the value matches the format of an internal ID, the internal ID takes precedence. The caller must be an administrator of the organization.

Example:

"05b8daba9ba14a49846fe77883248cf0"

Query Parameters

sort
string[]

Specifies the property and direction for sorting the results. Each sorting criterion must use the property:direction format (e.g., name:asc or date:desc). You can apply multiple sorts by providing a comma-separated list (?sort=name:desc,date:asc) or by repeating the parameter (?sort=name:desc&sort=date:asc). Sortable properties are id and rule; other properties are ignored. Defaults to id:asc when omitted.

Pattern: ^[a-zA-Z]+:(asc|desc)$
max
integer
default:10

Optional. Integer. The maximum number of policy rules to return, from 1 to 1000. Defaults to 10.

Required range: 1 <= x <= 1000
offset
integer
default:0

Optional. Integer. The number of policy rules to skip before the first one returned, for paging: 0 or more. Defaults to 0.

Required range: x >= 0

Response

OK

meta
object
required
data
object[]
required