# `Twilio.Trunking.V1.Trunk.IpAccessControlListService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/trunking/v1/trunk/ip_access_control_list_service.ex#L2)

List of IP addresses for accessing a trunk

Operations: `list`, `create`, `fetch`, `delete`

# `create`

```elixir
@spec create(Twilio.Client.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Trunking.V1.Trunk.IpAccessControlList.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Associate an IP Access Control List with a Trunk

Operation: `CreateIpAccessControlList` | Tags: TrunkingV1IpAccessControlList

## Required Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `IpAccessControlListSid` | string | The SID of the [IP Access Control List](https://www.twilio.com/docs/voice/sip/api/sip-ipaccesscontrollist-resource) that you want to associate with the trunk. |

# `delete`

```elixir
@spec delete(Twilio.Client.t(), String.t(), String.t(), keyword()) ::
  {:ok, map()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
```

Remove an associated IP Access Control List from a Trunk

Operation: `DeleteIpAccessControlList` | Tags: TrunkingV1IpAccessControlList

# `fetch`

```elixir
@spec fetch(Twilio.Client.t(), String.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Trunking.V1.Trunk.IpAccessControlList.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `FetchIpAccessControlList` | Tags: TrunkingV1IpAccessControlList

# `list`

```elixir
@spec list(Twilio.Client.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Page.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

List all IP Access Control Lists for a Trunk

Operation: `ListIpAccessControlList` | Tags: TrunkingV1IpAccessControlList

# `stream`

```elixir
@spec stream(Twilio.Client.t(), String.t(), map(), keyword()) :: Enumerable.t()
```

Stream: List all IP Access Control Lists for a Trunk (lazy auto-pagination).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
