---
title: "Move/rename an object"
method: POST
path: "/storage/{bucketName}/move"
tags: ["Storage Objects"]
---

# Move/rename an object

`POST /storage/{bucketName}/move`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/storage/{bucketName}/move`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `bucketName` string, required

## Request body

- StorageMoveRequest
  - `from` string, required: Source path
  - `to` string, required: Destination path

## Response `200`

Object moved

- StorageObject
  - `id` string, uuid, required
  - `bucket_id` string, uuid, required
  - `name` string, required: Full path within bucket (e.g., "users/abc123/avatar.png")
  - `owner_id` string, uuid, nullable: Auth user who uploaded (null for anonymous/service)
  - `is_public` boolean, required: If true, the file can be downloaded with just an anon key (no user authentication). Files are private by default. Only the owner or a service key can change visibility.
  - `size` integer, required: File size in bytes
  - `mime_type` string, required: MIME type
  - `etag` string: Entity tag for cache validation
  - `metadata` object: Custom user metadata (key-value pairs). Limits: Maximum 50 keys, maximum 10KB total serialized size.
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `public_url` string, uri: Shareable public URL for this file (only set for public files with is_public=true). This URL requires NO authentication and can be embedded in HTML, shared via email, etc. The URL is properly URL-encoded by the server - use it as-is without additional encoding.

## Other responses

- `403`: Access denied by storage policy
- `429`: The platform user exceeded their billing-cycle bandwidth allowance (aggregate ingress + egress across owned projects). Enforcement is eventual: requests are rejected until the allowance increases or the next anniversary cycle begins.

## Changes

- **2026-09-19** `3a6f365f3f35`: 6 breaking, 14 info
  - added the new path request parameter `bucketName`
  - added the new required request property `from`
  - added the new required request property `to`
  - the request's body type changed from no type to `object`
  - …16 more
- **2026-08-27** `bb44e98aba2e`: 10 breaking, 10 warning
  - the request's body type changed from `object` to no type
  - the response's body type changed from `object` to no type for status `200`
  - the response's body type changed from `object` to no type for status `429`
  - removed the required property `bucket_id` from the response with the `200` status
  - …16 more
- **2026-07-27** `bb52784e098a`: 1 info
  - added the optional property `code` to the response with the `429` status

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/storage/:bucketName/move/post.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
