---
title: "Archive a `Reservation`."
method: POST
path: "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}/archive"
tags: ["Reservation, Archive"]
---

# Archive a \`Reservation\`.

`POST /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}/archive`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}/archive`
- Auth: none declared

Archiving a `Reservation` moves it to `Archived` state.

## Path parameters

- `reservationOrderId` string, required
- `reservationId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Archived a reservation.

## Other responses

- `default`: Unexpected error

## Changes

- **2026-07-13** (2017-11-01) `11a19365e7ac`: 1 info
  - endpoint added
- **2026-07-13** (2017-11-01) `e016e4a47b3d`: 1 warning
  - deleted the `query` request parameter `api-version`
- **2026-07-13** (2017-11-01) `f57576f207e5`: 1 info
  - endpoint added
- **2026-07-13** (2017-11-01) `2f1eb330dddb`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/azure/apis/reservations-microsoft-capacity-reservations/changes/providers/Microsoft.Capacity/reservationOrders/:reservationOrderId/reservations/:reservationId/archive/post.md)

---

[API](https://skmtc.dev/azure/apis/reservations-microsoft-capacity-reservations.md) - [All operations](https://skmtc.dev/azure/apis/reservations-microsoft-capacity-reservations/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/reservations-microsoft-capacity-reservations/revisions/11a19365e7ac?raw)
