---
title: "Export a user's data (admin only)"
method: GET
path: "/users/admin/export/{userId}"
tags: ["Users"]
---

# Export a user's data (admin only)

`GET /users/admin/export/{userId}`

Downloads a JSON export of another user's data (hosts, credentials, file manager bookmarks). Secrets are decrypted server-side, so handle the file carefully.

## Path parameters

- `userId` string, required

## Response `200`

JSON export of the user's data.

## Other responses

- `403` — Admin access required.
- `404` — User not found.
- `423` — The user's data stays locked until their next login.
- `500` — Failed to export user data.

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
