---
title: "Update the attributes of an existing policy."
method: PATCH
path: "/policies/{policyId}"
tags: ["Policies"]
---

# Update the attributes of an existing policy.

`PATCH /policies/{policyId}`

## Response `204`

successful operation

## Other responses

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

## 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/:policyId/patch.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)
