addUrlDomainBan abstract method
- @POST.new('/admin/bans/url-domain/add')
- @Body.new() required BanUrlDomainRequest body,
Add URL domain ban.
Ban an entire URL domain from being linked on the platform. All URLs under the banned domain will be blocked.
body - Name not received - field will be skipped.
Implementation
@POST('/admin/bans/url-domain/add')
Future<void> addUrlDomainBan({@Body() required BanUrlDomainRequest body});