addUrlBan abstract method
- @POST.new('/admin/bans/url/add')
- @Body.new() required BanUrlRequest body,
Add URL ban.
Ban one or more URLs from being posted on the platform. Messages containing banned URLs will be blocked.
body - Name not received - field will be skipped.
Implementation
@POST('/admin/bans/url/add')
Future<void> addUrlBan({@Body() required BanUrlRequest body});