Create an organization rule
Organization Rules
Create an organization rule
Creates a new policy rule at the organization level. Organization rules apply across all projects and cannot be assigned to specific agents. Requires admin role. Cloud only.
POST
Create an organization rule
Documentation Index
Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key obtained from the dashboard or GET /user/api-key
Body
application/json
Required string length:
1 - 255Available options:
block, rate_limit, manual_approval Available options:
GET, POST, PUT, PATCH, DELETE Required range:
x >= 1Available options:
minute, hour, day Response
Rule created
Available options:
GET, POST, PUT, PATCH, DELETE, null Available options:
block, rate_limit, manual_approval Available options:
minute, hour, day, null