unregisterMobilePushDevice abstract method

  1. @POST.new('/users/@me/mobile-devices/unregister')
Future<SuccessResponse> unregisterMobilePushDevice({
  1. @Body.new() required UnregisterMobileDeviceRequest body,
})

Unregister mobile push device.

Deletes a registered mobile push device using the platform token known by the client.

body - Name not received - field will be skipped.

Implementation

@POST('/users/@me/mobile-devices/unregister')
Future<SuccessResponse> unregisterMobilePushDevice({
  @Body() required UnregisterMobileDeviceRequest body,
});