Update File

PATCH

Path parameters

idstringRequired

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringOptional>=1 character<=40 characters

This is the name of the file. This is just for your own reference.

Response

idstring

This is the unique identifier for the file.

orgIdstring

This is the unique identifier for the org that this file belongs to.

createdAtdatetime

This is the ISO 8601 date-time string of when the file was created.

updatedAtdatetime

This is the ISO 8601 date-time string of when the file was last updated.

object"file"OptionalDefaults to file
status"indexed" or "not_indexed"Optional
Allowed values: indexednot_indexed
namestringOptional<=40 characters

This is the name of the file. This is just for your own reference.

originalNamestringOptional
bytesdoubleOptional
purposestringOptional
mimetypestringOptional
keystringOptional
pathstringOptional
bucketstringOptional
urlstringOptional
metadatamap from strings to anyOptional