Dynamic Policies
Update a dynamic policy
Update an existing dynamic policy. Only provided fields are updated. If category is changed, the new value must still start with dynamic- or media-.
put/api/v1/dynamic-policies/{id}
Request
- Base URLhttps://agent.getaxonflow.com
- Authnone declared. Required headers: X-Tenant-ID
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-User-IDstring
Example:user@company.com
User identifier for audit logging
Request body
Example request
{
"actions": [
{
"config": {
"message": "Request blocked by policy",
"channel": "security-alerts"
}
}
]
}Response
Dynamic policy updated
Example response
{
"policy": {
"id": "pol_abc123def456",
"name": "Block PII Access",
"description": "Prevent unauthorized access to personally identifiable information",
"category": "dynamic-risk",
"actions": [
{
"config": {
"message": "Request blocked by policy",
"channel": "security-alerts"
}
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.