Replace a file, keep the same link
replace_filePro plan only. Replaces the content of an existing file; the public link stays the same, so links already shared keep working. On the Free plan, publish a new file instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The file id returned by upload_file or list_files. | |
| file_name | No | Optional new file name. Omit to keep the current name (recommended). | |
| content_base64 | Yes | The new file content, base64-encoded. |