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

# Fetch account details

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

## Request

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

Retrieves detailed information for a specific account within a resource in PAM360.

## Path parameters

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

## Headers

- `orgName` string

## Response `200`

Account details

- GetAccountDetailsResponse
  - `operation` object
    - `result` OperationResult
      - `message` string: Result message describing the operation outcome
      - `status` string: Operation status
    - `Details` object
      - `DESCRIPTION` string: Description or notes associated with the account
      - `PASSWDID` string: Unique identifier for the password associated with the account
      - `LAST MODIFIED TIME` string: Timestamp of the last password modification or account update
      - `IS_TOTP_CONFIGURED` string: Indicates whether TOTP (Time-based One-Time Password) is configured for the account
      - `EXPIRY STATUS` string: Indicates whether the password is expired or still valid
      - `COMPLIANT REASON` string: Provides the reason for password non-compliance based on policy
      - `PASSWORDREQUEST_REASON_MANDATORY` string: Specifies whether the user must provide a reason while requesting the password
      - `PASSWORD STATUS` string: Current status of the password (e.g., masked or hidden for security)
      - `PASSWORD POLICY` string: Name of the password policy applied to the account
      - `COMPLIANT STATUS` string: Indicates whether the password complies with the associated password policy
      - `LAST ACCESSED TIME` string: Timestamp of the last access to the password or account
      - `CUSTOM FIELD` object[]: List of custom fields configured for the account
        - `CUSTOMFIELDLABEL` string: Display label of the custom field
        - `CUSTOMFIELDTYPE` 'Character' | 'Date' | 'Numeric' | 'Password' | 'File': Data type of the custom field
        - `CUSTOMFIELDCOLUMNNAME` string: Internal column name for the custom field
        - `CUSTOMFIELDVALUE` string: Value of the custom field
    - `name` string: Name of the operation performed

---

[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)
