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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"3bfda75c-7329-12fe-dc0e-68825323a484","parentId":"consectetur velit ea consequat","name":"laborum est dolor culpa","type":"tempor non aliquip qui","sizeInBytes":74769433,"modifiedDate":"1945-07-30T23:45:52.269Z","modifiedBy":"mollit incididunt do eiusmod et"}