> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ip_allowlist

# `prefect.cli.cloud.ip_allowlist`

Manage Prefect Cloud IP Allowlists.

## Functions

### `ip_allowlist_enable` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/cloud/ip\_allowlist.py#L123](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/cloud/ip_allowlist.py#L123)</sup>

```python theme={null}
ip_allowlist_enable()
```

Enable the IP allowlist for your account. When enabled, if the allowlist is non-empty, then access to your Prefect Cloud account will be restricted to only those IP addresses on the allowlist.

### `ip_allowlist_disable` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/cloud/ip\_allowlist.py#L155](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/cloud/ip_allowlist.py#L155)</sup>

```python theme={null}
ip_allowlist_disable()
```

Disable the IP allowlist for your account. When disabled, all IP addresses will be allowed to access your Prefect Cloud account.

### `ip_allowlist_ls` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/cloud/ip\_allowlist.py#L169](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/cloud/ip_allowlist.py#L169)</sup>

```python theme={null}
ip_allowlist_ls()
```

Fetch and list all IP allowlist entries in your account.

### `ip_allowlist_add` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/cloud/ip\_allowlist.py#L182](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/cloud/ip_allowlist.py#L182)</sup>

```python theme={null}
ip_allowlist_add(ip_address_or_range: Annotated[str, cyclopts.Parameter(help='An IP address or range in CIDR notation. E.g. 192.168.1.0 or 192.168.1.0/24')])
```

Add a new IP entry to your account IP allowlist.

### `ip_allowlist_remove` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/cloud/ip\_allowlist.py#L242](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/cloud/ip_allowlist.py#L242)</sup>

```python theme={null}
ip_allowlist_remove(ip_address_or_range: Annotated[str, cyclopts.Parameter(help='An IP address or range in CIDR notation. E.g. 192.168.1.0 or 192.168.1.0/24')])
```

Remove an IP entry from your account IP allowlist.

### `ip_allowlist_toggle` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/cloud/ip\_allowlist.py#L274](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/cloud/ip_allowlist.py#L274)</sup>

```python theme={null}
ip_allowlist_toggle(ip_address_or_range: Annotated[str, cyclopts.Parameter(help='An IP address or range in CIDR notation. E.g. 192.168.1.0 or 192.168.1.0/24')])
```

Toggle the enabled status of an individual IP entry in your account IP allowlist.
