Modify a device
xmatters_modify_a_deviceModify a device's properties—like name, status, or delays—by sending the device ID and confirm:true to apply updates in xMatters.
Instructions
Modify a device. POST /api/xm/1/devices. Other fields from Create a device and device objects may be supplied. Device-type-specific requirements are left to the API. Body fields: id, deviceType, privileged, defaultDevice, delay, externalKey, externallyOwned, name, owner, priorityThreshold, provider, recipientType, sequence, status, testStatus, timeframes, emailAddress, phoneNumber, twoWayDevice, pin, country. Reference: https://help.xmatters.com/xmapi/#modify-a-device 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/#modify-a-device | |
| 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. |