Allows updating the properties (metadata) of an existing file.

PATCH {{baseUrl}}/files/:id/properties

Allows updating specific properties associated with the file, namely its name and parent (by ID). Updating the visibility (namely tenant-wide or user-only) for a file is not available but can be achieved via changing the current file's parent to a directory that has a different visibility space.

Request Body

{"name"=>"<string>", "type"=>"<string>", "parentId"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;3bfda75c-7329-12fe-dc0e-68825323a484&quot;,&quot;parentId&quot;:&quot;consectetur velit ea consequat&quot;,&quot;name&quot;:&quot;laborum est dolor culpa&quot;,&quot;type&quot;:&quot;tempor non aliquip qui&quot;,&quot;sizeInBytes&quot;:74769433,&quot;modifiedDate&quot;:&quot;1945-07-30T23:45:52.269Z&quot;,&quot;modifiedBy&quot;:&quot;mollit incididunt do eiusmod et&quot;}