---
title: "Update IP blocklist"
method: PUT
path: "/firewall/apps/{app_id}/ip-blocklist"
---

# Update IP blocklist

`PUT /firewall/apps/{app_id}/ip-blocklist`

Set the custom IP blocklist for an app. This will replace the existing blocklist with the new one.

## Path parameters

- `app_id` integer, required

## Request body

- object
  - `ip_addresses` unknown[], required — The list of IP addresses to block
    - unknown

## Response `200`

The IP blocklist has been successfully updated

- object
  - `success` boolean — Indicates whether the operation was successful

## Other responses

- `400` — Invalid request body
- `404` — App not found

---

[API](https://skmtc.dev/aikido/apis/authorization.md) · [All operations](https://skmtc.dev/aikido/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aikido/authorization/revisions/5445e7c21137/schema)
