Create a policy association (link a policy to an entity).
Entities can be agents, teams, or environments. Priority determines which policy wins in case of conflicts (higher wins).
Schema for creating a policy association
Policy UUID from enforcer service
Policy name (cached)
Entity type
agent, team, environment Entity UUID
Whether association is active
Custom priority (overrides default)
Additional metadata
Successful Response
Response model for policy associations