1
API blacklist
Question asked by Sabatino - 10/23/2024 at 3:47 AM
Answered
is there an API to manage
the blacklist in
interface/root#/sysadmin/settings/security ?

I can't find it
Sabatino Traini
      Chief Information Officer
Genial s.r.l. 
Martinsicuro - Italy

2 Replies

Reply to Thread
0
Tony Scholz Replied
Employee Post Marked As Answer
Hello, 

Get The current list of Blacklisted IPs

GetIpAccessList
POST api/v1/settings/sysadmin/ip-access/{isWhitelist}
https://mail.smartertools.com/Documentation/api#/reference/SmarterMail.Web.Api.SystemAdminSettingsController/GetIpAccessList/post

Add an IP to the Blacklist

AddIpAccess
POST api/v1/settings/sysadmin/ip-access
https://mail.smartertools.com/Documentation/api#/reference/SmarterMail.Web.Api.SystemAdminSettingsController/AddIpAccess/post

Delete an IP from the Blacklist

DeleteIpAccess
POST api/v1/settings/sysadmin/ip-access-delete
https://mail.smartertools.com/Documentation/api#/reference/SmarterMail.Web.Api.SystemAdminSettingsController/DeleteIpAccess/post

Hope this helps

Tony Scholz System/Network Administrator SmarterTools Inc. www.smartertools.com

Reply to Thread