# Get sub-accounts (tenanants) hierarchy tree Get all sub-accounts hierarchy as a tree structure. A user token or vendor token are required for this route. A user token can be obtained after user authentication. A vendor token is required for this route, it can be obtained from the vendor authentication route. Endpoint: GET /resources/hierarchy/v1/tree Security: bearer ## Header parameters: - `frontegg-tenant-id` (string, required) The account (tenant) ID identifier ## Response 400 fields