public static async Task UnRegisterDevice() { var bikerId = BikerService.GetBikerInfo()._id; var playerId = (await OneSignal.Current.IdsAvailableAsync()).PlayerId; var platform = Xamarin.Essentials.DeviceInfo.Platform.ToString().ToLower(); var deviceInfo = new { installationId = playerId, platform = platform }; await HttpClientService.Put($"https://delivery-3rd-api.azurewebsites.net/api/Biker/UnRegisterBikerDevice/{bikerId}", deviceInfo); }