---
title: "Replace an IP allow list for a portal"
method: PUT
path: "/v3/portals/{portalId}/ip-allow-list/{id}"
tags: ["Portals IP Allow List"]
---

# Replace an IP allow list for a portal

`PUT /v3/portals/{portalId}/ip-allow-list/{id}`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v3/portals/{portalId}/ip-allow-list/{id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Replace an IP allow list for a portal.

## Request body

- object
  - `allowed_ips` string[], required: The list of allowed ips for the portal.

## Response `200`

The portal's IP allow list configuration.

- IPEntry: An entry representing a collection of allowed IP addresses or CIDR blocks.
  - `id` string, uuid, required: Contains a unique identifier used for this resource.
  - `allowed_ips` string[], required: The list of allowed ips for the portal.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2026-06-11** `be4c4e09af62`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-beta/changes/v3/portals/:portalId/ip-allow-list/:id/put.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-beta.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-beta/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-beta/revisions/cef0f947e9c9?raw)
