Create a device name
xmatters_create_a_device_nameCreate a device name in xMatters by sending a POST request with device type, name, description, and privileged fields. Requires write opt-in and confirmation to register the device name.
Instructions
Create a device name. POST /api/xm/1/device-names. The definition plus JavaScript/Python requests use /device-names. A cURL example uses deviceName; the definition is retained. See C12. Body fields: deviceType, name, description, privileged. Reference: https://help.xmatters.com/xmapi/#create-a-device-name 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-device-name | |
| 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. |