---
title: "Update Target Files"
method: PUT
path: "/projects/{projectId}/target-files"
tags: ["Target File"]
---

# Update Target Files

`PUT /projects/{projectId}/target-files`

Updates multiple target files. If any of the files fails to be updated, an error will be returned for each file.

## Request body

- TargetFilesUpdateRequest
  - `files` TargetFileUpdateRequest[], required
    - `id` string, required — The target file identifier.
    - `name` string, required — The target file name.\ The name should not contain the extension.\ Unsupported characters in the name: `<`, `>`, `:`, `"`, `/`, `\`, `|`, `?`, `*`.

## Response `204`

No Content

## Other responses

- `400` — Error responses: * "invalid": invalid input for the value mentioned in the “name” field on the error response.
- `401` — The user could not be identified.
- `403` — Error codes: * "forbidden": - the authenticated user is not allowed to update the file.
- `404` — Error codes: * "notFound": the target file could not be found by identifier.
- `409` — Error codes: * "duplicate": a file with the same name already exists.

## Changes

- **2026-07-02** (v1) `4762da93c3ec` — 2 warning
  - deleted the `header` request parameter `Authorization`
  - deleted the `header` request parameter `X-LC-Tenant`
- **2026-07-02** (v1) `34b4bafa1f2f` — 2 breaking
  - added the new required `header` request parameter `Authorization`
  - added the new required `header` request parameter `X-LC-Tenant`
- **2026-06-22** (v1) `ad07690afdcd` — 2 warning
  - deleted the `header` request parameter `Authorization`
  - deleted the `header` request parameter `X-LC-Tenant`
- **2026-06-22** (v1) `2c72bbe33bb0` — 2 breaking
  - added the new required `header` request parameter `Authorization`
  - added the new required `header` request parameter `X-LC-Tenant`
- **2026-06-22** (v1) `6841ddd42906` — 2 warning
  - deleted the `header` request parameter `Authorization`
  - deleted the `header` request parameter `X-LC-Tenant`

[Full history](https://skmtc.dev/rws/apis/trados-cloud-platform-api/changes/projects/:projectId/target-files/put.md)

---

[API](https://skmtc.dev/rws/apis/trados-cloud-platform-api.md) · [All operations](https://skmtc.dev/rws/apis/trados-cloud-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rws/apis/trados-cloud-platform-api/revisions/4a1f3e4ad6ab?raw)
