Actions15
Object → Move
AI-generatedSummary
Move an object from one bucket and key to another bucket and key within Yandex Object Storage by copying it to the destination and then deleting it from the source.
Inputs
- Source Bucket (required) — The bucket containing the source object to move. Can be selected from a list or specified by name.
- Source Object Key (required) — The key (path) of the source object to move.
- Destination Bucket (required) — The destination bucket where the object should be moved. Can be selected from a list or specified by name.
- Destination Object Key (required) — The key (path) for the object in the destination bucket.
Output shape
a single record
The output JSON contains success status, source and destination bucket and key details, a publicly accessible URL for the moved object, and metadata such as ETag and last modified date of the copied object.
Examples
Example 1: Move 'path/to/source.txt' in bucket 'source-bucket' to 'path/to/destination.txt' in bucket 'destination-bucket'
Set Source Bucket to 'source-bucket', Source Object Key to 'path/to/source.txt', Destination Bucket to 'destination-bucket', and Destination Object Key to 'path/to/destination.txt'.