---
title: "GET /collections/{collectionName}/getCollectionPath"
method: GET
path: "/collections/{collectionName}/getCollectionPath"
tags: ["Collection"]
---

# GET /collections/{collectionName}/getCollectionPath

`GET /collections/{collectionName}/getCollectionPath`

Gets the parent name and parent friendly name chains that represent the collection path.

## Path parameters

- `collectionName` string, required

## Query parameters

- `api-version` string, required
- `$skipToken` string

## Response `200`

Success

- CollectionPathResponse — Collection resource.
  - `parentFriendlyNameChain` string[] — The friendly names of ancestors starting from the default (root) collection and ending with the immediate parent.
  - `parentNameChain` string[] — The names of ancestors starting from the default (root) collection and ending with the immediate parent.

## Other responses

- `default` — An error response received from the provider.

---

[API](https://skmtc.net/azure/apis/purview-account.md) · [All operations](https://skmtc.net/azure/apis/purview-account/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/purview-account/versions/dc51c3b3ddf7/schema)
