---
title: "Returns all inherited `Policies` for a `Device` or set of `Groups` where the `Device`/`Groups` are associated with all the hierarchies that the `Policy` applies to. Either `deviceId` or `groupPath` must be provided."
method: GET
path: "/policies/inherited"
tags: ["Policies"]
---

# Returns all inherited \`Policies\` for a \`Device\` or set of \`Groups\` where the \`Device\`/\`Groups\` are associated with all the hierarchies that the \`Policy\` applies to. Either \`deviceId\` or \`groupPath\` must be provided.

`GET /policies/inherited`

## Query parameters

- `deviceId` string
- `groupPath` string[]
- `type` string, required

## Response `200`

successful operation

## Other responses

- `400` — Invalid input
- `404` — Not found

## Changes

- **2021-08-25** `483d6ba924ec` — 4 breaking
  - the `items/` response's property type changed from no type to `object` for status `200` (media type: application/vnd.aws-cdf-v1.0+json)
  - the `items/` response's property type changed from no type to `object` for status `200` (media type: application/vnd.aws-cdf-v2.0+json)
  - the `items/policies/items/` response's property type changed from no type to `object` for status `200` (media type: application/vnd.aws-cdf-v1.0+json)
  - the `items/policies/items/` response's property type changed from no type to `object` for status `200` (media type: application/vnd.aws-cdf-v2.0+json)

[Change history](https://skmtc.dev/aws-samples/apis/aws-connected-device-framework-asset-library/changes/policies/inherited/get.md)

---

[API](https://skmtc.dev/aws-samples/apis/aws-connected-device-framework-asset-library.md) · [All operations](https://skmtc.dev/aws-samples/apis/aws-connected-device-framework-asset-library/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aws-samples/aws-connected-device-framework-asset-library/revisions/78967b3d609f/schema)
