---
search:
  tags:
    - Host
    - POST
seo:
  description: >-
    Only the event's system key, which the Athena organizer… Reference for the
    POST /api/admin/host/reallocation endpoint in the Athena Attack/Defence
    Admin API.
sidebar:
  label: >-
    Retire the current host allocation before the network opens, for an image
    change or a recorded compromise
  badge: POST
title: >-
  Retire the current host allocation before the network opens, for an image
  change or a recorded compromise
type: openapi-operation
---
Only the event's system key, which the Athena organizer panel holds, may call this. An organizer API key is refused with 403; use the panel.

`POST /api/admin/host/reallocation`

**Request body** (`application/json`, required)

- `operationId` (string, required)
- `allocationOperationId` (string, required)
- `reason` (string, required)

Request body example:

```json
{
  "operationId": "string",
  "allocationOperationId": "string",
  "reason": "image_change"
}
```

**Responses**

- `200` — Success
- `401` — Unauthorized
- `403` — Response for status 403
- `409` — Response for status 409
- `422` — Validation failed
- `500` — Unhandled server error

Response example, 200:

```json
{
  "kind": "unchanged"
}
```
