---
title: "Set Rooster Browser Anti Bot"
method: PUT
path: "/api/system/rooster-browser-anti-bot"
tags: ["system"]
---

# Set Rooster Browser Anti Bot

`PUT /api/system/rooster-browser-anti-bot`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/system/rooster-browser-anti-bot`
- Auth: none declared

Frederick, 2026-09-24: "only the owner ... can turn on" (default
later moved to ON, the gate did not -- see migration 0619's own
comment). `ANTI_BOT_MANAGE_KEY` is `system:browser_anti_bot:manage`,
seeded to Frederick's principal alone; the route gate is the grantable
`system:credentials:write`, and anyone without the owner key gets 403 from
the check below before anything is written. `settings_service.upsert_setting` records
who and when (`updated_by`/`updated_at`) and emits the same outbox
audit event every other setting change already does -- no second audit
mechanism needed here.

## Request body

- SetAntiBotRequest
  - `enabled` boolean, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
