---
title: "Update RGW account info"
method: POST
path: "/api/rgw/accounts"
tags: ["RgwUserAccounts"]
---

# Update RGW account info

`POST /api/rgw/accounts`

Create an account

        :param account_name: Account name
        :return: Returns account resource.
        :rtype: Dict[str, Any]

## Request body

- object
  - `account_name` string, required — Account name
  - `daemon_name` string — Name of the daemon
  - `email` string — Email
  - `max_access_keys` integer — Max access keys
  - `max_buckets` integer — Max buckets
  - `max_group` integer — Max groups
  - `max_roles` integer — Max roles
  - `max_users` integer — Max users
  - `tenant` string — Tenant

## Response `201`

Resource created.

- 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.

---

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