Create Policy Window
create_policy_windowDefine maintenance windows that prevent policy execution on specified device groups during scheduled periods, with options for recurrence and timezone.
Instructions
Create a new maintenance/exclusion window that prevents policy execution on the specified groups during the defined periods. All fields are required. The 'rrule' field does NOT accept generic RFC 5545; the upstream validator enforces exactly two grammars (live-verified 2026-06-05). For recurrence=once: FREQ=DAILY;UNTIL=YYYYMMDDTHHMMSSZ (compact UNTIL, no COUNT). For recurrence=recurring: FREQ=YEARLY;BYMONTH=<1-12>;BYDAY=<+N weekday> only — no other FREQ values, no WEEKLY. status accepts active|inactive; recurrence accepts once|recurring (lowercase on input).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rrule | Yes | ||
| status | Yes | ||
| dtstart | Yes | ||
| org_uuid | No | ||
| recurrence | Yes | ||
| request_id | No | ||
| group_uuids | Yes | ||
| window_name | Yes | ||
| window_type | Yes | ||
| use_local_tz | Yes | ||
| duration_minutes | Yes | ||
| window_description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||