Skip to main content

updateBlockedIps

Validates and saves newline-separated IP blocking rules for the active account and copies them to existing site settings. Returns normalized text and inline errors; errors: null means the save succeeded, while validation errors leave saved rules unchanged. Use options.userBlockedIps to read saved rules. Requires tracking options edit access.

updateBlockedIps(
ipList: String!
): UpdateBlockedIpsResult

Arguments​

updateBlockedIps.ipList ● String! non-null scalar​

Newline-separated IPv4 or IPv6 addresses, * wildcards, or hyphen-separated address ranges; # starts a comment. An empty string clears the rules.

Type​

UpdateBlockedIpsResult object​

Normalized IP rule text and inline validation or save errors returned by updateBlockedIps.