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. The id of the organization to list policy rules for: a string of 32 hexadecimal characters. The caller must be an employee of the organization.

UUID without dashes (32-character hex string)

Pattern: ^[0-9a-fA-F]{32}$

Query Parameters

max
integer
default:10

Optional. The maximum number of policy rules to return: an integer from 1 to 1000. Defaults to 10.

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

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

Required range: x >= 0
sort
string
default:id:asc

Optional. The property and direction to sort the policy rules by, as a string in the property:direction format, where property is id or rule and direction is asc or desc (for example rule:asc). Several criteria can be given as a comma-separated list (?sort=rule:asc,id:desc) or by repeating the parameter. Properties other than id and rule are ignored. Defaults to id:asc when omitted.

Response

OK

meta
object
data
object[]