---
title: "Changes to Replace file bytes (keep id, comments, share links)"
method: POST
path: "/api/workspaces/{slug}/files/{fileId}/versions"
---

# Changes to Replace file bytes (keep id, comments, share links)

`POST /api/workspaces/{slug}/files/{fileId}/versions`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2026-11-05** `767beae124a8`: 1 info

## Changes

- **2026-11-05** `767beae124a8`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/trydock/apis/dock-rest-api/docs/api/workspaces/:slug/files/:fileId/versions/post.md) - [API](https://skmtc.dev/trydock/apis/dock-rest-api.md) - [Page](https://skmtc.dev/trydock/apis/dock-rest-api/changes/api/workspaces/:slug/files/:fileId/versions/post)
