Change a file of a project
PATCH/v1/projects/:id/files/:fileId
Shows a file to the customer or hides it, and changes its category or its note; a field you leave out stays as it is. A file that becomes visible is marked as new in Mein Bereich, and the project's history names the API key. No mail is sent.
The files of your team in the project can be changed, whoever stored them. The customer's own cannot (409 customer_file), and your team's files of the offer request are not found here. Requires the read:documents and write:projects scopes.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
The file after the change.
validation_error: the body, a path or a query parameter is not valid. message names each problem, e.g. firstName: Required.
missing_api_key or invalid_api_key: no API key was sent, or it is wrong, expired or revoked.
insufficient_scope: the API key does not have the scope this endpoint needs. required names it.
not_found: there is no such project in your company, or no such file in it.
customer_file: the file is the customer's own.
db_error: the files could not be read. storage_error: they could not be signed for download. message has the details.