addIpBan abstract method

  1. @POST.new('/admin/bans/ip/add')
Future<void> addIpBan({
  1. @Body.new() required BanIpRequest body,
})

Add IP ban.

Ban one or more IP addresses from accessing the platform. Users connecting from banned IPs will be denied service. Can be applied retroactively.

body - Name not received - field will be skipped.

Implementation

@POST('/admin/bans/ip/add')
Future<void> addIpBan({@Body() required BanIpRequest body});