---
ai:
  exclude: true
search:
  tags:
    - user
    - DELETE
seo:
  description: >-
    Removes user and its references (like project roles… Reference for the
    DELETE /api/2/user endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: Delete user
  badge: DELETE
title: Delete user
type: openapi-operation
---
Removes user and its references (like project roles associations, watches, history). Note: user references will not be removed if multiple User Directories are used and there is a user with the same name existing in another directory (shadowing user).

`DELETE /api/2/user`

**Responses**

- `204` — Returned if the user was deleted successfully.
- `400` — Returned if the request is invalid or some other server error occurred.
- `401` — Returned if the user is not authenticated.
- `403` — Returned if the caller does not have permission to remove the user.
- `404` — Returned if the caller does have permission to remove user but the user does not exist.
