Skip to main content
PATCH

Path Parameters

string
required
The unique identifier of the file.

Request Body

string
A new filename for the file.
string
A new path for the file within the drive.
string[]
Updated tags for the file. Replaces all existing tags.
object
Updated metadata for the file. Replaces all existing metadata.
string
An ISO 8601 timestamp for when the file should expire. Set to null to remove expiration.

Response

Returns the updated file record. See Get File for the full response schema.