---
title: "Delete a user"
method: DELETE
path: "/usermanagement/v1/users/{userID}"
tags: ["User Management"]
---

# Delete a user

`DELETE /usermanagement/v1/users/{userID}`

Deletes a user in the system. When you delete a user:
 1. All the user data (restore points) is deleted.
 2. If the user that is being deleted has shared data with guest users, this data is also deleted.
 3. All devices of the user will get deleted, and all the active and preserved licenses that the user was consuming will be freed up.
 4. You can roll back the deleted user from Rollback Actions until the rollback window lapses.
 5. After the rollback window lapses, the user will be deleted permanently. For more information, see <a href=https://docs.druva.com/Cyber_Resilience/Rollback_Actions>Rollback Actions</a>.

## Path parameters

- `userID` integer, required

## Request body

- object
  - `deletionReason` string — Specify the reason for user deletion (the character limit of reason is between 10-150) . This capability will help prevent accidental deletions. If no reason is specified, the default reason i.e. <b>API initiated User Deletion</b> will be displayed.

## Response `200`

OK

- unknown

## Other responses

- `400` — Bad Request
- `401` — The request did not include an authentication token or an expired authentication token was supplied.
- `404` — The requested resource was not found.
- `422` — The request was well-formed but was unprocessable due to semantic errors.
- `500` — The request was not processed due to an internal error in inSync GovCloud.
- `501` — Requested HTTP method is not implemented.

---

[API](https://skmtc.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/revisions/2af2bf148b25/schema)
