RenameObject
Renames an object. This operation is an extension to the standard S3 protocol, and was implemented to give users far more functionality.

Request

1
MOVE /{bucket}/{key} HTTP/1.1
2
Destination: {newObjectKey}
3
X-ColdStack-Prefix: IsPrefix
Copied!

Path parameters

Parameter
Description
bucket
Name of the bucket.
key
Current key of the object.
newObjectKey
New key for the object.
IsPrefix
For renaming prefixes (e.g. renaming folders)

Headings

Use only generic headers in your request .

Response

Headings

The response can only contain general headers .

Response codes

For a list of possible responses, see the Responses section .
A successful response does not contain additional data and means that the object was successfully renamed.
Copy link