RenameObject

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

Request

MOVE /{bucket}/{key} HTTP/1.1
Destination: {newObjectKey}
X-ColdStack-Prefix: IsPrefix

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.

Last updated