forgetAuthorizedIps abstract method

  1. @DELETE.new('/users/@me/authorized-ips')
Future<void> forgetAuthorizedIps({
  1. @Body.new() required SudoVerificationSchema body,
})

Forget authorized IPs for current user.

Clears all authorized IP addresses for the current user. After calling this endpoint, the user will be required to re-authorize any new IP addresses they log in from. Requires sudo mode verification.

body - Name not received - field will be skipped.

Implementation

@DELETE('/users/@me/authorized-ips')
Future<void> forgetAuthorizedIps({
  @Body() required SudoVerificationSchema body,
});