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

# Create an IP allow list for a portal

`POST /v3/portals/{portalId}/ip-allow-list`

## Request

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

Create an IP allow list for a portal.

## Request body

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

## Response `201`

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

## 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/post.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)
