List organization rules
Organization Rules
List organization rules
Returns all policy rules scoped to the organization. Available on OneCLI Cloud and self-hosted Enterprise. Requires the admin or owner role.
GET
List organization rules
Authorizations
API key obtained from the dashboard or GET /user/api-key
Response
200 - application/json
List of organization rules
Custom rules only; absent on app-permission rules.
Custom rules only; absent on app-permission rules.
Custom rules only; absent on app-permission rules.
Available options:
GET, POST, PUT, PATCH, DELETE, null Available options:
block, rate_limit, manual_approval, allow Available options:
minute, hour, day, null Project lists include inherited organization rules; use this to tell them apart.
Available options:
project, organization Set on rules generated by app permissions (source: app_permission, plus provider and toolId). Null for custom rules.