---
title: "Creates a new `Policy`, and applies it to the provided `Groups`."
method: POST
path: "/policies"
tags: ["Policies"]
---

# Creates a new `Policy`, and applies it to the provided `Groups`.

`POST /policies`

## Response `201`

Created successfully

## Other responses

- `400` — Invalid input

## Changes

- **2021-08-25** `483d6ba924ec` — 2 breaking
  - the request's body type/format changed from ``/`` to `object`/`` (media type: application/vnd.aws-cdf-v1.0+json)
  - the request's body type/format changed from ``/`` to `object`/`` (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/post.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)
