---
title: "Find trees which contain the specified device"
method: POST
path: "/configuration_manager/devices/device/trees"
tags: ["Configuration Manager"]
---

# Find trees which contain the specified device

`POST /configuration_manager/devices/device/trees`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/configuration_manager/devices/device/trees`
- Auth: none declared

Searches through all GC Trees to find all locations where a device exists.

## Request body

- object
  - `deviceName` string
  - `options` ConfigurationManagerDevicesDeviceTreesPostRequestBodyContentApplicationJsonSchemaOptions

## Response `200`

List of trees that the device belongs to.

- unknown[]
  - unknown

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Configuration Manager` added
  - api tag `configurationManager` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/configuration_manager/devices/device/trees/post.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
