Update File

View as Markdown

Update one file display name or caller-owned metadata.

Authentication

AuthorizationBearer

Use Bearer <api-key>.

Path parameters

fileIdstringRequired

Request

This endpoint expects an object.
metadataobject or nullOptional
namestringOptional1-255 characters

Response

OK
contentTypestring>=1 character
createdAtdatetime
downloadUrlstring>=1 character
idstringformat: "uuid"
namestring>=1 character
pathstring>=1 character
sizeBytesinteger0-9007199254740991
sourceenum
spaceIdstringformat: "uuid"
expiresAtdatetime
metadataobject or null
runIdstringformat: "uuid"
runtimeIdstringformat: "uuid"
typestring1-64 characters

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error