Skip to main content

update

Function update 

Source
pub async fn update(
    transport: &Transport,
    id: &str,
    body: &Value,
) -> Result<AgentPolicy>
Expand description

Replace a policy. body is the complete desired spec without id, plus explicit nulls; agent_policy_ops::build_replace_body builds it.