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
Authorizations
Enter your Kubiya API token (format: Bearer )
Body
application/json
Response
Successful Response
Extended policy response with association count