---
title: "Change Horde Modes"
method: PUT
path: "/v2/status/modes"
tags: ["v2"]
---

# Change Horde Modes

`PUT /v2/status/modes`

Endpoint for admins to (un)set the horde into maintenance, invite_only or raid modes.

## Headers

- `apikey` string, required
- `X-Fields` string, mask

## Request body

- object
  - `maintenance` boolean
  - `invite_only` boolean
  - `raid` boolean

## Response `200`

Maintenance Mode Set

- HordeModes
  - `maintenance_mode` boolean — When True, this horde will not accept new requests for image generation, but will finish processing the ones currently in the queue.
  - `invite_only_mode` boolean — When True, this horde will not only accept worker explicitly invited to join.
  - `raid_mode` boolean — When True, this horde will not always provide full information in order to throw off attackers.

## Other responses

- `401` — Invalid API Key
- `403` — Access Denied

---

[API](https://skmtc.net/haidra-org/apis/ai-horde.md) · [All operations](https://skmtc.net/haidra-org/apis/ai-horde/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/haidra-org/ai-horde/revisions/dfeb0bedd935/schema)
