deleteIOSDeviceToken method

Future<void> deleteIOSDeviceToken(
  1. String build
)

Implementation

Future<void> deleteIOSDeviceToken(String build) async {
  //
  var body = json.encode({"build": build, "client": client});
  //
  // final initUrl = '$baseUrl/api/push/delete/token';
  final initUrl = BytedeskUtils.getHostUri('/api/push/delete/token');
  await httpClient.post(initUrl, headers: getHeaders(), body: body);
}