Actions31
- Alert Actions
- Application Actions
- Billing Actions
- Device Actions
- Fact Actions
- Instruction Actions
- Policy Actions
Policy → Update
AI-generatedSummary
Update a policy
Inputs
- policyId (required) — The ID of the policy to update
- updateFields — Fields to modify in the policy, such as name, description, or color
Output shape
an array of response objects for each updated policy
Each item contains a success flag and the API response; may include multiple items when batch updating, and failures are returned when continueOnFail is enabled
Examples
Example 1: Update policy description
policyId='pol_123', updateFields.description='Updated policy description'
Example 2: Change policy color
policyId='pol_456', updateFields.color='#FF6600'