---
title: "Get parent tenants"
method: GET
path: "/resources/hierarchy/v1/parents"
tags: ["Sub-Accounts"]
---

# Get parent tenants

`GET /resources/hierarchy/v1/parents`

## Request

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

Get all parent tenants from the hierarchy. Tenant ID header is required. A user token or vendor token are required for this route. A user token can be obtained after user authentication. A vendor token can be obtained from the vendor authentication route.

## Headers

- `frontegg-tenant-id` string, required

## Response `200`

---

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