---
title: "Get a decrypted uninstall token"
method: GET
path: "/api/fleet/uninstall_tokens/{uninstallTokenId}"
tags: ["Fleet uninstall tokens"]
---

# Get a decrypted uninstall token

`GET /api/fleet/uninstall_tokens/{uninstallTokenId}`

**Spaces method and path for this operation:**

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/uninstall_tokens/{uninstallTokenId}</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Get one decrypted uninstall token by its ID.<br/><br/>[Required authorization] Route required privileges: fleet-agents-all.

## Path parameters

- `uninstallTokenId` string, required

## Response `200`

Successful response

- object
  - `item` object, required
    - `created_at` string, required
    - `id` string, required
    - `namespaces` string[]
    - `policy_id` string, required
    - `policy_name` string, nullable
    - `token` string, required

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

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