dcloud monitoring oncall-devices updateRename a device, or store the push tokens its app registered
Synopsis
dcloud monitoring oncall-devices update id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--nameOptionalstring
1–80 characters; unchanged when omitted
--voip-tokenOptionalstring
The PushKit token (hex) the app registered; null clears it, unchanged when omitted
May be null.
--alert-tokenOptionalstring
The notification token (hex); null clears it, unchanged when omitted
May be null.
--apns-environmentOptionalenum
sandbox for a development build, production for TestFlight and the App Store; unchanged when omitted
One of:
sandbox,production--voip-enabledOptionalboolean (--voip-enabled / --no-voip-enabled)
false: no call, the time-sensitive notification alone; unchanged when omitted
--critical-alertsOptionalboolean (--critical-alerts / --no-critical-alerts)
The phone allowed Critical Alerts; the notification then sounds through silent mode; unchanged when omitted
--app-versionOptionalstring
unchanged when omitted
May be null.
Example
dcloud monitoring oncall-devices update idGenerated from the API description, the same one the API checks requests against and the CLI is built from.