v1

latestOpenAPI 3.0.02026-07-17120114186.8 KB
bus

Rename objects

Renames a single object or multiple objects with a prefix.

post/bus/objects/rename

Request body

bucketstring

The name of the bucket.

fromstring

Source path/prefix

tostring

Destination path/prefix

mode'single' | 'multi'

Whether to rename a single object or multiple objects

forceboolean

Whether to overwrite existing objects

Example request

{
  "bucket": "default"
}

Response

Successfully renamed objects