- Documentation
Torch Object Storage
SDK Reference
Python
Object interface
Manage objects
Rename Object (Python SDK)
Manage objects
Rename Object (Python SDK)
Rename Object (Python SDK)
TOS supports renaming the key of a single object within a bucket without copying or deleting data.
- You need to enable the rename feature before renaming objects.
- RenameObject only supports renaming objects uploaded after it is enabled. Objects uploaded before this feature is enabled are not supported.
- Concurrent renaming is not supported for the same object.
- All metadata of the renamed object is consistent with the source object.
The following code demonstrates the object renaming feature.
For the API documentation of RenameObject, see RenameObject. Last updated: 2025.09.17 18:22:10