---
title: "Reveal the password used during instance creation or the latest password reset."
method: GET
path: "/instance/{id}:password"
tags: ["instance"]
---

# Reveal the password used during instance creation or the latest password reset.

`GET /instance/{id}:password`

## Request

- Base URL: `https://api-ch-gva-2.exoscale.com/v2`
- URL: `https://api-ch-gva-2.exoscale.com/v2/instance/{id}:password`
- Auth: none declared
- TypeScript: <https://skmtc.dev/exoscale/apis/exoscale-api/docs/instance/:id:password/get.ts> (a function with typed inputs; its response is checked against the schema)

Reveal the password used during instance creation or the latest password reset.
            This is only available for VMs created against templates having the `password-enabled`
            property set to `true`.

            Passwords are transiently stored for at most 24 hours and intended to be retrieved shortly after
            creation or resets.

## Path parameters

- `id` string, uuid, required

## Response `200`

200

- InstancePassword: Instance password
  - `password` string: Password

## Changes

- **2023-02-03** `6e9809fd1444`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/exoscale/apis/exoscale-api/changes/instance/:id:password/get.md)

---

[API](https://skmtc.dev/exoscale/apis/exoscale-api.md) - [All operations](https://skmtc.dev/exoscale/apis/exoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/exoscale/apis/exoscale-api/revisions/63da6f74c845?raw)
