Skip to main content
IP allowlisting lets you restrict API access to your workspace to a defined set of trusted IP addresses or CIDR ranges. When enabled, requests from any IP not on the allowlist are rejected with 403 Forbidden.

Enabling IP Allowlisting

IP allowlisting is managed via Guard policies or directly in Guard → Settings → IP Allowlist in the dashboard.

Via API

Listing Allowlist Rules

Updating a Rule

Removing a Rule

If all allowlist rules are removed, the allowlist feature is automatically disabled and all IPs regain access. To block all access from unlisted IPs, you must maintain at least one active rule.

Scope

IP allowlisting applies to all API requests workspace-wide, including requests from integrations and SDK clients. It does not apply to the SSO login flow — IdP redirects are always permitted.

Temporary Bypass

You can temporarily exempt a specific API key from IP allowlisting (e.g. for emergency access from an unlisted IP):
All bypass events are recorded in the Guard audit log with a guard.ip_allowlist.bypassed action.
All allowlist changes and bypass events are recorded in the Guard audit log and can trigger alert rules if configured.