---
title: "Update bot lists"
method: PUT
path: "/firewall/apps/{app_id}/bot-lists"
---

# Update bot lists

`PUT /firewall/apps/{app_id}/bot-lists`

Update the bot lists configuration for an app

## Path parameters

- `app_id` integer, required

## Request body

- object[]
  - `code` string
  - `mode` 'monitor' | 'block' — monitor: Subscribe but only monitor, block: Subscribe and block. To ignore a bot category, simply omit it from the array.

## Response `200`

The bot lists configuration 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)
