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

# Preserve a user

`POST /usermanagement/v1/users/{userID}/preserve`

Preserves a user in Druva inSync.
When you preserve a user:
    1) Backups from the user's device are stopped and the user status changes to Preserved.
    2) inSync retains the user's data backups as long as the user is Preserved.
    3) If not activated again, the preserved user is later deleted from inSync after the duration specified in the  Auto-Delete Preserved User settings of the user's profile.

## Path parameters

- `userID` integer, required

## 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 not processed 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)
