- Documentation
Torch Object Storage
SDK Reference
C++
Object Interface
Manage objects
Renaming Objects (C++ SDK)
Manage objects
Renaming Objects (C++ SDK)
Renaming Objects (C++ SDK)
TOS supports renaming the key of an individual object within a bucket without copying or deleting data.
- Before renaming an object, you must first enable the renaming feature.
- Renaming is supported only for objects uploaded after the RenameObject feature is enabled; it is not supported for objects that existed prior to enabling this feature.
- Concurrent renaming is not supported for the same object.
- All information contained in the metadata of the renamed object is identical to that of the source object.
The following code is used for the object renaming functionality.
For the API documentation on RenameObject, see RenameObject. Last updated: 2025.09.25 14:22:48