---
title: "DELETE /api/rgw/user/{uid}/subuser/{subuser}"
method: DELETE
path: "/api/rgw/user/{uid}/subuser/{subuser}"
tags: ["RgwUser"]
---

# DELETE /api/rgw/user/{uid}/subuser/{subuser}

`DELETE /api/rgw/user/{uid}/subuser/{subuser}`

:param purge_keys: Set to False to do not purge the keys.
                           Note, this only works for s3 subusers.

## Path parameters

- `uid` string, required
- `subuser` string, required

## Query parameters

- `purge_keys` string
- `daemon_name` string

## Response `202`

Operation is still executing. Please check the task queue.

- object

## Other responses

- `204` — Resource deleted.
- `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)
