Create a temporary absence
xmatters_create_a_temporary_absenceCreate a temporary absence for a user in xMatters, specifying start/end times and optional replacement. Use it to schedule coverage or block notifications during planned time off.
Instructions
Create a temporary absence. POST /api/xm/1/temporary-absences. replacement is conditional on absenceType=REPLACEMENT and tenant policy; not required globally. Body fields: id, absenceType, member, start, end, group, includeDirectNotifications, replacement. Reference: https://help.xmatters.com/xmapi/#create-a-temporary-absence Requires operator write opt-in and confirm:true; may notify recipients or change tenant data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Complete API JSON payload (including nested fields). See https://help.xmatters.com/xmapi/#create-a-temporary-absence | |
| query | No | API query parameters; arrays are comma-joined. Documented names: none. Pagination is explicit using offset and limit; results are not automatically combined. | |
| confirm | Yes | Explicit approval of this exact mutation. Operator must also enable XMATTERS_ALLOW_WRITES. |