Update file metadata
PATCH/api/v1/files/:file_id/metadata
Updates the metadata field of a file
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 413
- 429
- 500
Metadata updated successfully
Invalid request — a query parameter or body field the operation does not declare, or a value that fails validation
Authentication required
Insufficient permissions
File not found
A file already exists at the target path in this project
REQUEST_REJECTED — the request body is over the size the body parser accepts
QUOTA_EXCEEDED — a requests quota on the calling API key or its project is spent for the window; Retry-After says when it reopens
Response Headers
Retry-After
Seconds until the quota window admits a request again
Unexpected server error — INTERNAL_ERROR, with the raw message never forwarded