---
title: "Archive contracts"
method: POST
path: "/bus/contracts/archive"
tags: ["bus"]
---

# Archive contracts

`POST /bus/contracts/archive`

Archives the contracts with the specified reasons. Archiving a contract means that all the data that was stored in that contract has to be migrated.

## Request body

- object

## Response `200`

Contracts archived successfully

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.net/siafoundation/apis/renterd-api.md) · [All operations](https://skmtc.net/siafoundation/apis/renterd-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/siafoundation/renterd-api/revisions/184a3d5207da/schema)
