---
title: "Download AuthKey"
method: GET
path: "/usermanagement/v1/users/{userID}/download_user_auth_key"
tags: ["User Management"]
---

# Download AuthKey

`GET /usermanagement/v1/users/{userID}/download_user_auth_key`

Downloads the authentication key for users to replace or add a new device

## Path parameters

- `userID` integer, required

## Query parameters

- `deviceID` integer

## 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.
- `500` — The request was not processed due to an internal error in inSync Gov Cloud.
- `501` — Requested HTTP method is not implemented.

---

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