Update device
documentedModify an existing device (payload includes id).
PUT /devicesDEVICESno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{XMATTERS_TENANT}}.xmatters.com/api/xm/1/devices/{{$device_id}}" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"id": "{{$device_id}}", "deviceType": "{{$device_type}}", "name": "{{$name}}", "phoneNumber": "{{$phoneNumber}}", "timeframes": {{$timeframes}} }'