folders
Renames a source folder to a destination folder. Only applicable to buckets with hierarchical namespace enabled.
post/b/{bucket}/folders/{sourceFolder}/renameTo/folders/{destinationFolder}
Path parameters
bucketstring required
Name of the bucket in which the folders are in.
sourceFolderstring required
Name of the source folder.
destinationFolderstring required
Name of the destination folder.
Query parameters
ifSourceMetagenerationMatchstring
Makes the operation conditional on whether the source object's current metageneration matches the given value.
ifSourceMetagenerationNotMatchstring
Makes the operation conditional on whether the source object's current metageneration does not match the given value.
Response
Successful response