---
title: "Changes to Update a vault credential"
method: POST
path: "/vaults/{vault_id}/credentials/{credential_id}"
---

# Changes to Update a vault credential

`POST /vaults/{vault_id}/credentials/{credential_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 554 revisions.

- **2026-09-27** `de263316e28b`: 1 breaking
- **2026-09-22** `d1cbc7a20461`: 3 info
- **2026-09-18** `ae9b7322bc4f`: 1 breaking, 3 info
- **2026-09-10** `f2dae1a9aced`: 1 info

## Changes

- **2026-09-27** `de263316e28b`: 1 breaking
  - request body became required
- **2026-09-22** `d1cbc7a20461`: 3 info
  - added the new optional request property `metadata`
  - the request property `auth` became optional
  - added the required property `metadata` to the response with the `200` status
- **2026-09-18** `ae9b7322bc4f`: 1 breaking, 3 info
  - added `#/components/schemas/VaultCredentialAuthResourceEnvironmentVariable` to the `auth` response property `oneOf` list for the response status `200`
  - added `environment_variable` discriminator mapping keys to the `auth` request property
  - added `#/components/schemas/RotateVaultCredentialAuthParamEnvironmentVariable` to the `auth` request property `oneOf` list
  - added `environment_variable` discriminator mapping keys to the `auth` response property for the response status `200`
- **2026-09-10** `f2dae1a9aced`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/openai/apis/openai-api-4/docs/vaults/:vault_id/credentials/:credential_id/post.md) - [API](https://skmtc.dev/openai/apis/openai-api-4.md) - [Page](https://skmtc.dev/openai/apis/openai-api-4/changes/vaults/:vault_id/credentials/:credential_id/post)
