/files/update/{fileId}PUTfileId (required): The ID of the file to be updated. Example: b5h86j5dkl7m0rnylnkt3kfh{
"name": "Doc NDA",
"visibility": "private",
"retentionPeriod": "90d"
}name (required, string): The new name of the file.visibility (required, string): Indicates whether the file is private or public.retentionPeriod (optional, string): Specifies the duration for which the file should be retained. Allowed values are:30d, 45d, 90d, 120d, 180d1Y, 2Y, 3Y, 5YPUT /files/update/b5h86j5dkl7m0rnylnkt3kfh
Content-Type: application/json
{
"name": "Updated NDA Document",
"visibility": "private"
}b5h86j5dkl7m0rnylnkt3kfh. The file's name is changed to "Updated NDA Document", and its visibility is set to "private".PUT /files/update/b5h86j5dkl7m0rnylnkt3kfh
Content-Type: application/json
{
"retentionPeriod": "1Y"
}b5h86j5dkl7m0rnylnkt3kfh, setting its retention period to 1 year.200 OK: File metadata successfully updated.400 Bad Request: Invalid request parameters or body (e.g., invalid visibility value, invalid retentionPeriod format or value).404 Not Found: File not found.500 Internal Server Error: Server error.