---
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.

---

[API](https://skmtc.net/rws/apis/trados-cloud-platform-api.md) · [All operations](https://skmtc.net/rws/apis/trados-cloud-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rws/trados-cloud-platform-api/revisions/d42dac7c28a3/schema)
