Preview blocking an IP address on every site
fleet__block_ip_across_fleetPreview blocking one IP address on each chosen site with its security plugin, in this order: Wordfence, then GuardPress (Royally can lift either block again with fleet__undo), then Kadence Security (a ban that is lifted in Kadence Security itself). Takes ip (IPv4 or IPv6), optional reason and site_ids (default every connected site). Returns per site which plugin would block it and whether it can be undone, sites with none of these plugins, and an approve_url: a person reviews and applies the block in Royally before approve_before; nothing changes until then. Blocks are permanent until lifted. Addresses on a plugin's allowlist are refused by the plugin, and GuardPress also refuses the site's own address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 or IPv6 address to block. | |
| reason | No | Why the address is blocked; shown in the security plugin. | |
| site_ids | No | Restrict to these site ids. Omit for every eligible site. |