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

# Pool networks — add, remove, update

> Add or remove networks from a pool, and configure affiliate credentials per network.

## Add networks to pool

**`POST /v1/pools/{id}/networks`**

<ParamField body="network_ids" type="string[]" required>
  Array of network IDs to add.
</ParamField>

```json theme={null}
{
  "network_ids": ["NETWORK_ID_1", "NETWORK_ID_2"]
}
```

***

## Remove networks from pool

**`DELETE /v1/pools/{id}/networks`**

<ParamField body="network_ids" type="string[]" required>
  Array of network IDs to remove.
</ParamField>

```json theme={null}
{
  "network_ids": ["NETWORK_ID_1"]
}
```

***

## Update network affiliate config

Updates affiliate credentials for a specific network within a pool.

**`PUT /v1/pools/{id}/networks/{network}`**

<ParamField body="affiliate_id" type="string">
  Your affiliate ID for this network.
</ParamField>

<ParamField body="sub_affiliate_id" type="string">
  Your sub-affiliate / sub ID for this network.
</ParamField>

<ParamField body="sync_merchants" type="boolean">
  Whether to sync merchants from this network to the pool.
</ParamField>

```json theme={null}
{
  "affiliate_id": "your_affiliate_id",
  "sub_affiliate_id": "your_sub_id",
  "sync_merchants": true
}
```
