---
title: "Changes to Rename a Key, Edit Origins, Budget or Scope"
method: PATCH
path: "/keys/{id}"
---

# Changes to Rename a Key, Edit Origins, Budget or Scope

`PATCH /keys/{id}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 29 revisions.

- **2026-09-21** `b64222844186` — 2 info
- **2026-09-14** `7b994706d03a` — 1 breaking
- **2026-09-13** `e5364a7d5211` — 4 info
- **2026-09-12** `1d86c8ff3a62` — 1 info

## Changes

- **2026-09-21** `b64222844186` — 2 info
  - added the new optional `query` request parameter `fields`
  - added the new optional `query` request parameter `precision`
- **2026-09-14** `7b994706d03a` — 1 breaking
  - removed the enum value `allowlist` of the request property `origin_restriction/type`
- **2026-09-13** `e5364a7d5211` — 4 info
  - added the new optional request property `allowed_endpoints`
  - added the new optional request property `credits_cap_cycle`
  - added the optional property `data/allowed_endpoints` to the response with the `200` status
  - added the optional property `data/credits_cap_cycle` to the response with the `200` status
- **2026-09-12** `1d86c8ff3a62` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/astroway/apis/astroway-calculation-api/docs/keys/:id/patch.md) · [API](https://skmtc.dev/astroway/apis/astroway-calculation-api.md) · [Page](https://skmtc.dev/astroway/apis/astroway-calculation-api/changes/keys/:id/patch)
