Update Policy
Chính sách
Cập nhật chính sách
Cập nhật quy tắc của chính sách hiện có.
PUT
Update Policy
Tham số đường dẫn
ID chính sách cần cập nhật (ví dụ:
pol_abc123).Nội dung yêu cầu
Đối tượng quy tắc chính sách đã cập nhật. Cấu trúc phụ thuộc vào
type của chính sách.Ví dụ
Ủy quyền
API key authentication. Keys are prefixed with awx_.
Tham số đường dẫn
The policy ID to update (e.g., pol_abc123).
Nội dung
application/json
Policy rules object. Structure depends on the policy type.
Phản hồi
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.
Tùy chọn có sẵn:
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.