Actions31
- Alert Actions
- Application Actions
- Billing Actions
- Device Actions
- Fact Actions
- Instruction Actions
- Policy Actions
Policy → Create
AI-generatedSummary
Create a new Addigy policy
Inputs
- name (required) — Name of the policy
- description — Policy description
- parent_policy_id — Parent policy to inherit from
- color — Color for the policy in the UI
Output shape
a single policy record
The created policy object returned by the Addigy API, containing at least its ID and name; additional fields depend on Addigy response.
Examples
Example 1: Create a policy named 'Test Policy'
Name: Test Policy; Additional Fields: {Description: "Testing policy", Color: "#3B82F6"}
Example 2: Create a policy inheriting from an existing policy
Name: Inherited Policy; Additional Fields: {Parent Policy Name or ID: "ParentPolicyID", Color: "#FF0000"}
Example 3: Create a policy with default color only
Name: Simple Policy