Update File

View as Markdown

Update one file display name or caller-owned metadata.

Authentication

AuthorizationBearer

Use Bearer <api-key>.

Path parameters

fileIdstringRequired

Query parameters

spaceIdstringRequiredformat: "uuid"

Request

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

Response

Default Response
contentTypestring>=1 character
createdAtstring
idstringformat: "uuid"
namestring>=1 character
pathstring>=1 character
sizeBytesinteger0-9007199254740991
sourceenum
Allowed values:
typestring>=1 character
downloadUrlstring
expiresAtstring or null
metadataobject or null
runIdstring or nullformat: "uuid"
runtimeIdstring or nullformat: "uuid"
spaceIdstringformat: "uuid"