---
title: "Changes to Update an existing Agent Policy"
method: PUT
path: "/policies/agent/{id}"
---

# Changes to Update an existing Agent Policy

`PUT /policies/agent/{id}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 12 of 25 revisions.

- **2026-07-17** `d95ee7691efb` — 2 breaking, 1 warning
- **2022-10-04** `ce59b3bdec00` — 2 breaking, 1 warning
- **2022-03-28** `5d3c055b50ec` — 5 info
- **2021-09-22** `dc9b53b51fdd` — 1 breaking
- **2021-09-20** `36e163b84ec9` — 1 breaking, 6 warning, 1 info
- **2021-09-14** `e0d05716908c` — 1 breaking, 2 info
- **2021-08-31** `adfab293130f` — 2 breaking
- **2021-08-27** `c6c0b44a92ea` — 3 info
- **2021-08-27** `3b5c71fcf139` — 1 info
- **2021-08-27** `38562e9cb8e7` — 1 breaking
- **2021-08-27** `cb4b72ec6b0d` — 1 info
- **2021-06-29** `e95a4da3dd7a` — 1 breaking

## Changes

- **2026-07-17** `d95ee7691efb` — 2 breaking, 1 warning
  - added the new required `header` request parameter `Authorization` to all path's operations
  - added the new required `header` request parameter `Authorization`
  - deleted the `header` request parameter `Bearer authorization`
- **2022-10-04** `ce59b3bdec00` — 2 breaking, 1 warning
  - added the new required `header` request parameter `Bearer authorization` to all path's operations
  - added the new required `header` request parameter `Bearer authorization`
  - deleted the `header` request parameter `Authorization`
- **2022-03-28** `5d3c055b50ec` — 5 info
  - added the new optional request property `oneOf[#/components/schemas/PolicyUpdateReqSchemaJson]/policy/handlers`
  - added the new optional request property `oneOf[#/components/schemas/PolicyUpdateReqSchemaJson]/policy/input`
  - added the new optional request property `oneOf[#/components/schemas/PolicyUpdateReqSchemaJson]/policy/kind`
  - added the optional property `format` to the response with the `201` status
  - added the optional property `policy_data` to the response with the `201` status
- **2021-09-22** `dc9b53b51fdd` — 1 breaking
  - the `policy` response's property type/format changed from `string`/`` to `object`/`` for status `201`
- **2021-09-20** `36e163b84ec9` — 1 breaking, 6 warning, 1 info
  - the request's body type/format changed from `object`/`` to ``/``
  - removed the request property `description`
  - removed the request property `format`
  - removed the request property `name`
  - removed the request property `policy`
  - removed the request property `policy_data`
  - removed the request property `tags`
  - added `#/components/schemas/PolicyUpdateReqSchemaJson, #/components/schemas/PolicyUpdateReqSchemaYaml` to the request body `oneOf` list
- **2021-09-14** `e0d05716908c` — 1 breaking, 2 info
  - the `policy` request property type/format changed from `string`/`` to `object`/``
  - added the new optional request property `format`
  - added the new optional request property `policy_data`
- **2021-08-31** `adfab293130f` — 2 breaking
  - the `policy` request property type/format changed from `object`/`` to `string`/``
  - the `policy` response's property type/format changed from `object`/`` to `string`/`` for status `201`
- **2021-08-27** `c6c0b44a92ea` — 3 info
  - added the new optional request property `policy`
  - the response optional property `ts_created` became read-only for the status `201`
  - the response required property `id` became read-only for the status `201`
- **2021-08-27** `3b5c71fcf139` — 1 info
  - endpoint added
- **2021-08-27** `38562e9cb8e7` — 1 breaking
  - api path removed without deprecation
- **2021-08-27** `cb4b72ec6b0d` — 1 info
  - endpoint added
- **2021-06-29** `e95a4da3dd7a` — 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/orb-community/apis/orb-policies/docs/policies/agent/:id/put.md) · [API](https://skmtc.dev/orb-community/apis/orb-policies.md) · [Page](https://skmtc.dev/orb-community/apis/orb-policies/changes/policies/agent/:id/put)
