---
title: "Fetch account password"
method: GET
path: "/restapi/json/v1/resources/{resourceId}/accounts/{accountId}/password"
tags: ["Passwords"]
---

# Fetch account password

`GET /restapi/json/v1/resources/{resourceId}/accounts/{accountId}/password`

## Request

- Base URL: `https://Hostname:Port`
- URL: `https://Hostname:Port/restapi/json/v1/resources/{resourceId}/accounts/{accountId}/password`
- Auth: API key in header `AUTHTOKEN`
- TypeScript: <https://skmtc.dev/manageengine/apis/pam360-rest-api/docs/restapi/json/v1/resources/:resourceId/accounts/:accountId/password/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the password of a specified account that belongs to a resource. A reason and ticket ID can be passed for audit and compliance purposes.

## Path parameters

- `resourceId` integer, required
- `accountId` integer, required

## Headers

- `orgName` string

## Response `200`

Account password

- PasswordResponse
  - `operation` object
    - `name` string
    - `result` Result
      - `status` 'Success' | 'Failed'
      - `message` string
      - `statusCode` integer
    - `Details` object
      - `PASSWORD` string

---

[API](https://skmtc.dev/manageengine/apis/pam360-rest-api.md) - [All operations](https://skmtc.dev/manageengine/apis/pam360-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/manageengine/apis/pam360-rest-api/revisions/44a47abb4bdb?raw)
