---
title: "Apply"
method: POST
path: "/setup/apply"
tags: ["setup"]
---

# Apply

`POST /setup/apply`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

Fence new Turns and request a restart only when existing work is idle.

Return restart_required=True on acceptance. Return 409 when setup is not
ready or a Turn or workspace operation is active, leaving that work running.
Concurrent attempts are serialized so a rejected request cannot reopen setup
after an accepted restart.

## Response `200`

Successful Response

- ApplyResult: Request for the owning launcher to restart with saved configuration.
  - `restart_required` boolean, required

## Other responses

- `401`: Operator token required
- `403`: Loopback connection required
- `404`: Setup or operation unavailable
- `409`: Operation or configuration conflict
- `422`: Invalid setup request
- `503`: Provider unavailable

## Changes

- **2026-10-24** `9f41092b94d8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/qredence/apis/fleet-rlm/changes/setup/apply/post.md)

---

[API](https://skmtc.dev/qredence/apis/fleet-rlm.md) - [All operations](https://skmtc.dev/qredence/apis/fleet-rlm/llms.txt) - [OpenAPI document](https://skmtc.dev/qredence/apis/fleet-rlm/revisions/87de8fd61161?raw)
