---
title: "Fetch all resources"
method: GET
path: "/restapi/json/v1/resources"
tags: ["Resources"]
---

# Fetch all resources

`GET /restapi/json/v1/resources`

## Request

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

Retrieves all resources accessible to the authenticated user.

## Headers

- `orgName` string

## Response `200`

Resources fetched successfully

- GetResourcesResponse
  - `operation` object, required
    - `result` OperationResult
      - `message` string: Result message describing the operation outcome
      - `status` string: Operation status
    - `Details` GetResourcesResponseDetails[]
      - `RESOURCE DESCRIPTION` string: Description of the resource
      - `RESOURCE TYPE` string: Type of the resource
      - `RESOURCE ID` string: Unique identifier for the resource
      - `RESOURCE NAME` string: Name of the resource
      - `NOOFACCOUNTS` string: Number of accounts associated with the resource
      - `AUTOLOGONLIST` object[]: List of auto-logon configurations
      - `DNS NAME` string: DNS name of the resource
    - `name` string
    - `totalRows` integer: Total number of resources returned

---

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