Update Policy
策略
更新策略
更新现有策略的规则。
PUT
Update Policy
路径参数
要更新的策略 ID(例如
pol_abc123)。请求体
更新后的策略规则对象。结构取决于策略的
type。示例
授权
API key authentication. Keys are prefixed with awx_.
路径参数
The policy ID to update (e.g., pol_abc123).
请求体
application/json
Policy rules object. Structure depends on the policy type.
响应
Policy updated successfully.
A policy that controls what transactions an agent is allowed to execute.
Unique policy identifier (e.g., pol_abc123).
Agent this policy is attached to.
Policy type.
可用选项:
spending_limit, address_control, token_control, velocity_control, schedule, human_approval Policy rules object. Structure depends on the policy type.
ISO 8601 creation timestamp.
ISO 8601 last-update timestamp.