---
ai:
  exclude: true
search:
  tags:
    - Admin User
    - DELETE
seo:
  description: >-
    Deletes the given User identified by username. This… Reference for the
    DELETE /rest/api/admin/user/{username} endpoint in the Confluence Data
    Center API.
sidebar:
  label: Delete user
  badge: DELETE
title: Delete user
type: openapi-operation
---
Deletes the given User identified by username. This action is processed asynchronously.

`DELETE /rest/api/admin/user/{username}`

**Responses**

- `202` — Produces a HTTP Accept 202 response from some other resource pointing to this class's LongTaskStatus resource.
- `401` — The calling user is not authenticated or does not have the \<b\>LICENSED\</b\> permission.
- `403` — The calling user does not have permission to perform this action.
- `404` — No User exists for the provided username.

Response example, 202:

```json
{
  "id": "string",
  "links": {
    "result": "http://localhost:8080/confluence/rest/api/longtask/123/result",
    "status": "http://localhost:8080/confluence/rest/api/longtask/123/status"
  },
  "statusPath": "status",
  "resultPath": "result"
}
```
