---
title: "Changes to PATCH /zones/{zone_id}/secrets/{id}"
method: PATCH
path: "/zones/{zone_id}/secrets/{id}"
---

# Changes to PATCH /zones/{zone_id}/secrets/{id}

`PATCH /zones/{zone_id}/secrets/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 25 revisions.

- **2026-10-16** `0cfaff865771`: 14 breaking, 7 warning, 72 info
- **2026-03-16** `d3d69f45bfed`: 3 info
- **2026-02-06** `edd1b760a989`: 1 breaking, 1 warning, 5 info

## Changes

- **2026-10-16** `0cfaff865771`: 14 breaking, 7 warning, 72 info
  - the response property `details/items/field` became optional for the status `400`
  - the response property `details/items/field` became optional for the status `401`
  - the response property `details/items/field` became optional for the status `403`
  - the response property `details/items/field` became optional for the status `429`
  - the response property `details/items/field` became optional for the status `500`
  - the response property `details/items/field` became optional for the status `503`
  - the response property `details/items/field` became optional for the status `default`
  - the `details/items/code` response's property type changed from `string` to no type for status `400`
  - the `details/items/code` response's property type changed from `string` to no type for status `401`
  - the `details/items/code` response's property type changed from `string` to no type for status `403`
  - the `details/items/code` response's property type changed from `string` to no type for status `429`
  - the `details/items/code` response's property type changed from `string` to no type for status `500`
  - the `details/items/code` response's property type changed from `string` to no type for status `503`
  - the `details/items/code` response's property type changed from `string` to no type for status `default`
  - added the new `not_implemented` enum value to the `code` response property for the response status `400`
  - added the new `not_implemented` enum value to the `code` response property for the response status `401`
  - added the new `not_implemented` enum value to the `code` response property for the response status `403`
  - added the new `not_implemented` enum value to the `code` response property for the response status `429`
  - added the new `not_implemented` enum value to the `code` response property for the response status `500`
  - added the new `not_implemented` enum value to the `code` response property for the response status `503`
  - added the new `not_implemented` enum value to the `code` response property for the response status `default`
  - api tag `Secrets` added
  - api tag `svc-vault-api_other` removed
  - added `#/components/schemas/vault-api_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `400`
  - added `#/components/schemas/vault-api_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `401`
  - added `#/components/schemas/vault-api_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `403`
  - added `#/components/schemas/vault-api_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `429`
  - added `#/components/schemas/vault-api_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `500`
  - added `#/components/schemas/vault-api_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `503`
  - added `#/components/schemas/vault-api_ErrorCode, subschema #2` to the `details/items/code` response property `anyOf` list for the response status `default`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `400`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `401`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `403`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `429`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `500`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `503`
  - removed the `bad_request` enum value from the `details/items/code` response property for the response status `default`
  - removed the `conflict` enum value from the `details/items/code` response property for the response status `400`
  - removed the `conflict` enum value from the `details/items/code` response property for the response status `401`
  - removed the `conflict` enum value from the `details/items/code` response property for the response status `403`
  - …53 more
- **2026-03-16** `d3d69f45bfed`: 3 info
  - the endpoint scheme security `OAuth2` was added to the API
  - the endpoint scheme security `bearerAuth` was added to the API
  - the endpoint scheme security `vault-api_bearerAuth` was removed from the API
- **2026-02-06** `edd1b760a989`: 1 breaking, 1 warning, 5 info
  - removed `#/components/schemas/vault_SecretTokenFields, #/components/schemas/vault_SecretPasswordFields` from the `data` request property `oneOf` list
  - deleted the `header` request parameter `X-Request-ID`
  - the endpoint scheme security `vault-api_bearerAuth` was added to the API
  - the endpoint scheme security `vault_bearerAuth` was removed from the API
  - mapped value for discriminator key `password` changed from `#/components/schemas/vault_SecretPasswordFields` to `#/components/schemas/vault-api_SecretPasswordFields` for `data` request property
  - mapped value for discriminator key `token` changed from `#/components/schemas/vault_SecretTokenFields` to `#/components/schemas/vault-api_SecretTokenFields` for `data` request property
  - added `#/components/schemas/vault-api_SecretTokenFields, #/components/schemas/vault-api_SecretPasswordFields` to the `data` request property `oneOf` list

---

[Operation](https://skmtc.dev/keycardai/apis/untitled-api/docs/zones/:zone_id/secrets/:id/patch.md) - [API](https://skmtc.dev/keycardai/apis/untitled-api.md) - [Page](https://skmtc.dev/keycardai/apis/untitled-api/changes/zones/:zone_id/secrets/:id/patch)
