axonpush
API referenceGovern policies

PATCH /govern-policies/{policyId}

PATCH
/govern-policies/{policyId}

Path Parameters

policyId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X PATCH "https://example.com/govern-policies/string" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "rules": {}  }'
{  "$schema": "https://example.com/schemas/GovernPolicyView.json",  "apiKeyId": "string",  "appId": "string",  "createdAt": "string",  "enabled": true,  "enforcement": "string",  "environmentId": "string",  "model": "string",  "name": "string",  "policyId": "string",  "provider": "string",  "rules": {    "allowedModels": [      "string"    ],    "allowedTools": [      "string"    ],    "defaultModel": "string",    "deniedTools": [      "string"    ],    "maxTokens": 0,    "reasoningEffortCap": "string",    "reasoningTokensCap": 0,    "requireSafetyIdentifier": true,    "requireStructuredOutput": true,    "serviceTier": "string",    "temperatureMax": 0.1  },  "updatedAt": "string",  "userId": "string"}