---
title: "Confirm Luks Rotation"
method: POST
path: "/servers/{vm_name}/luks/confirm"
tags: ["Servers"]
---

# Confirm Luks Rotation

`POST /servers/{vm_name}/luks/confirm`

## Request

- Base URL: `https://api.chutes.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.chutes.ai/servers/{vm_name}/luks/confirm`
- Auth: none declared

Confirm or discard pending LUKS passphrase rotation results.

DEPRECATED for the storage-rotation flow: new VMs use POST /provision/confirm (same
shared logic). Kept for legacy in-field VMs; note the boot-phase root-passphrase confirm
still uses this route until /luks/* is fully retired.

The VM reports per-volume success/failure. require_confirm_nonce validates
and consumes the nonce before the handler runs. Volumes with rotated=True
have pending passphrases promoted to current; rotated=False discards pending.

## Path parameters

- `vm_name` string, required

## Headers

- `X-Chutes-Hotkey` string, nullable
- `X-Confirm-Nonce` string, nullable

## Request body

- LuksConfirmRequest: Request model for POST /luks/confirm.
  - `volumes` object, required: Per-volume rotation result reported by the VM

## Response `200`

Successful Response

- string

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `23e8895b217d`: 3 breaking, 2 info
  - the response's body type changed from `object` to `string` for status `200`
  - removed the required property `status` from the response with the `200` status
  - removed the required property `volumes` from the response with the `200` status
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - …1 more
- **2026-08-26** `8d909638091e`: 1 info
  - endpoint added
- **2026-08-22** `05d9af05d87e`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/chutes/apis/chutes-api/changes/servers/:vm_name/luks/confirm/post.md)

---

[API](https://skmtc.dev/chutes/apis/chutes-api.md) - [All operations](https://skmtc.dev/chutes/apis/chutes-api/llms.txt) - [OpenAPI document](https://skmtc.dev/chutes/apis/chutes-api/revisions/8add5b0e22da?raw)
