⚠️ Update Existing Policy

PUT {{cb_url}}/integrationServices/v3/policy/{{cb_policy_id}}

Update an existing policy with a new policy.

The new policy must be contained in a JSON object named policyInfo. The contents of the policyInfo object must be must include the following keys: - description: A description of the policy (can be multiple lines) - name: A one-line name for the policy (shown in the UI) - version: Must be set to “2” for the current policy API - priorityLevel: HIGH, MEDIUM or LOW - the priority score associated with sensors assigned to this policy. - policy: the JSON object containing the policy details. See examples in the policy key from the policies in the GET request above. - id: The ID of the policy to replace. This ID must match the ID in the request URL.


See the Documentation

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"success":true,"message":"Success"}