---
title: "Get user tenants' hierarchy"
method: GET
path: "/resources/users/v2/me/hierarchy"
tags: ["User management"]
---

# Get user tenants' hierarchy

`GET /resources/users/v2/me/hierarchy`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/users/v2/me/hierarchy`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/users/v2/me/hierarchy/get.ts> (a function with typed inputs; its response is checked against the schema)

This route gets the list of tenants with hierarchy metadata that a logged-in user belongs to. If the user is a member of several tenants in a tree some might be reduced. No params required. Mind to use your Frontegg subdomain/custom domain as a host. A user token is required for this route. A user token can be obtained after user authentication.

## Response `200`

- GetUserTenantsHierarchyResponseDto

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
