update Device
Updates an existing AlertDevice associated with the user’s account.
This method modifies the details of an already registered device. The updated device will continue to receive alerts unless it's deleted.
Return
A RainbowResult that will return the updated AlertDevice on success, or an error if the operation fails.
Parameters
device
The updated AlertDevice object.