Update push device

Renames a push device or turns its notifications on or off

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Changes the label of a registered device and/or turns its notifications on or off. While enabled is false the device stays registered but receives no push notifications.

Send the fields inside a user_device object, for example {"user_device": {"enabled": false}}. At least one of label and enabled is required, otherwise the response is 422. Any other field is ignored: user_agent and platform are updated only by Register push device.

Returns 404 if the token is not registered for the current user.

Path Params
string
required

FCM registration token of the device. URL-encode it: it may contain :.

Body Params
user_device
object
Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json