---
title: "Submit this file to be archived"
method: POST
path: "/files/{id}/sendArchiveRequest"
tags: ["files"]
---

# Submit this file to be archived

`POST /files/{id}/sendArchiveRequest`

Submit this file to the queue to be archived.
This requires RabbitMQ and a compatible archival extractor to be running.
See https://github.com/clowder-framework/extractors-archival

## Path parameters

- `id` string, required

## Response `200`

OK

## Other responses

- `404` — The requested resource was not found

## Changes

- **2021-07-23** `6ab2562e8acd` — 1 info
  - added the non-success response with the status `404`
- **2021-07-16** `303b451469b7` — 1 info
  - endpoint added
- **2020-09-29** `8bd7fd33f496` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/clowder-framework/apis/clowder/changes/files/:id/sendArchiveRequest/post.md)

---

[API](https://skmtc.dev/clowder-framework/apis/clowder.md) · [All operations](https://skmtc.dev/clowder-framework/apis/clowder/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clowder-framework/clowder/revisions/bcd187478e0d/schema)
