update

public final Response<Policy> update(String policyId, UpdatePolicyRequest requestBody, RequestOverrides overrides)
public final Response<Policy> update(String policyId, UpdatePolicyRequest requestBody)

Update a policy.

Return

The updated policy

Parameters

policyId

The ID of the policy to update

requestBody

The values to update the policy with

overrides

Optional request overrides to apply