---
title: "PUT /api/rgw/zone/{zone_name}"
method: PUT
path: "/api/rgw/zone/{zone_name}"
tags: ["RgwZone"]
---

# PUT /api/rgw/zone/{zone_name}

`PUT /api/rgw/zone/{zone_name}`

## Path parameters

- `zone_name` string, required

## Request body

- object
  - `access_key` string
  - `compression` string
  - `data_extra_pool` string
  - `data_pool` string
  - `data_pool_class` string
  - `default` string
  - `index_pool` string
  - `master` string
  - `new_zone_name` string, required
  - `placement_target` string
  - `secret_key` string
  - `storage_class` string
  - `sync_from` string
  - `sync_from_all` string
  - `tier_type` string
  - `zone_endpoints` string
  - `zonegroup_name` string, required

## Response `200`

Resource updated.

- object

## Other responses

- `202` — Operation is still executing. Please check the task queue.
- `400` — Operation exception. Please check the response body for details.
- `401` — Unauthenticated access. Please login first.
- `403` — Unauthorized access. Please check your permissions.
- `500` — Unexpected error. Please check the response body for the stack trace.

## Changes

- **2026-04-12** `75d6a5c84d6d` — 2 info
  - added the new optional request property `sync_from`
  - added the new optional request property `sync_from_all`
- **2026-04-02** `0c411b20b475` — 2 warning
  - removed the request property `sync_from`
  - removed the request property `sync_from_all`
- **2026-03-27** `5824065b0830` — 2 info
  - added the new optional request property `sync_from`
  - added the new optional request property `sync_from_all`

[Change history](https://skmtc.dev/ceph/apis/ceph-rest-api/changes/api/rgw/zone/:zone_name/put.md)

---

[API](https://skmtc.dev/ceph/apis/ceph-rest-api.md) · [All operations](https://skmtc.dev/ceph/apis/ceph-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ceph/ceph-rest-api/revisions/ecd4bae8a2f1/schema)
