Create Policy
API Reference
Create Policy
Create a new OPA policy in the enforcer service.
The policy will be stored in the enforcer service and can then be associated with entities (agents, teams, environments).
POST
Create Policy
Documentation Index
Fetch the complete documentation index at: https://docs.kubiya.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Enter your Kubiya API token (format: Bearer )
Body
application/json
Response
Successful Response
Extended policy response with association count