---
title: "Remove pinned file"
method: DELETE
path: "/host/file_manager/pinned"
tags: ["SSH"]
---

# Remove pinned file

`DELETE /host/file_manager/pinned`

Removes a file from the list of pinned files for a host.

## Request body

- object
  - `hostId` integer
  - `path` string

## Response `200`

Pinned file removed.

## Other responses

- `400` — Invalid data.
- `500` — Failed to remove pinned file.

---

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