---
title: "Add technical metadata to file"
method: POST
path: "/files/{id}/metadata"
tags: ["files"]
---

# Add technical metadata to file

`POST /files/{id}/metadata`

Metadata in attached JSON object will describe the file's described
resource, not the file object itself.

## Path parameters

- `id` string, required

## Request body

- object

## 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`
- **2020-09-29** `8bd7fd33f496` — 1 info
  - removed the non-success response with the status `404`

[Change history](https://skmtc.dev/clowder-framework/apis/clowder/changes/files/:id/metadata/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)
