---
title: "Edit Ceph User Capabilities"
method: PUT
path: "/api/cluster/user"
tags: ["Cluster"]
---

# Edit Ceph User Capabilities

`PUT /api/cluster/user`

Change the ceph user capabilities.
        Setting new capabilities will overwrite current ones.

## Request body

- object
  - `capabilities` object[] — List of updated capabilities to user_entity
    - `cap` string, required — Capability to edit; eg. allow *
    - `entity` string, required — Entity to edit
  - `user_entity` string — Entity to edit

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

---

[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/revisions/b03ae23c3806/schema)
