Skip to main content
Updates a policy. Parameters you omit keep their current values.

Parameters

mode
string
Updated operational mode of the policy.Available options: enforcement, suggestion
name
string
Updated display name of the policy.
rules
object
Rules that define how the policy behaves.
status
string
Updated status of the policy.Available options: active, inactive

More parameters

description
string | null
Updated description of the policy’s purpose.
metadata
object
Set of key-value pairs that you can attach to an object.

Returns

Returns the updated policy.