---
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}`

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

---

[API](https://skmtc.net/kong/apis/konnect-api-beta.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-beta/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-beta/versions/73b05fbfd2ef/schema)
