cURL
curl --request PATCH \ --url https://control-plane.kubiya.ai/api/v1/policies/associations/{association_id} \ --header 'Content-Type: application/json' \ --data '{ "enabled": true, "priority": 123, "metadata": {} }'
{ "id": "<string>", "organization_id": "<string>", "policy_id": "<string>", "policy_name": "<string>", "entity_type": "<string>", "entity_id": "<string>", "enabled": true, "priority": 123, "metadata": {}, "created_at": "<string>", "updated_at": "<string>", "created_by": "<string>" }
Update a policy association (e.g., enable/disable, change priority)
Schema for updating a policy association
Successful Response
Response model for policy associations
Was this page helpful?