---
title: "Update API key IP ACL"
method: PUT
path: "/v2/teams/api-keys/{apiKey}/allowed-ips"
tags: ["v2/API Keys"]
---

# Update API key IP ACL

`PUT /v2/teams/api-keys/{apiKey}/allowed-ips`

## Request

- Base URL: `https://api.speedify.com`
- URL: `https://api.speedify.com/v2/teams/api-keys/{apiKey}/allowed-ips`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP basic

Update the allowed IP addresses for an API key. Admin only.

## Path parameters

- `apiKey` string, required

## Request body

- object
  - `allowedIPs` string, required: Comma-separated IP addresses or CIDR ranges

## Response `200`

IP ACL updated

- object
  - `data` object

## Other responses

- `400`: Request validation failed
- `401`: Invalid or missing API key
- `403`: Valid API key but insufficient permissions
- `500`: Internal server error

---

[API](https://skmtc.dev/speedify/apis/speedify-teams-api.md) - [All operations](https://skmtc.dev/speedify/apis/speedify-teams-api/llms.txt) - [OpenAPI document](https://skmtc.dev/speedify/apis/speedify-teams-api/revisions/70fab50c8804?raw)
