---
title: "Changes to Update a basic auth credential"
method: PATCH
path: "/v2/directories/{directoryId}/principals/{principalId}/basic-auths/{basicAuthId}"
---

# Changes to Update a basic auth credential

`PATCH /v2/directories/{directoryId}/principals/{principalId}/basic-auths/{basicAuthId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 155 revisions.

- **2026-11-12** `d8bd04cfbaf7`: 1 breaking, 1 warning, 2 info
- **2026-11-02** `7e077577b247`: 1 info

## Changes

- **2026-11-12** `d8bd04cfbaf7`: 1 breaking, 1 warning, 2 info
  - the `managed_by/additionalProperties/` response property's maxLength was increased from `63` to `127` for the response status `200`
  - changed the pattern of the request property `managed_by/additionalProperties/` from `^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$` to `^[^\s\x00-\x1F\x7F-\x9F]+$`
  - the `managed_by/additionalProperties/` request property's maxLength was increased from `63` to `127`
  - the `managed_by/additionalProperties/` response's property pattern was changed from `^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$` to `^[^\s\x00-\x1F\x7F-\x9F]+$` for the status `200`
- **2026-11-02** `7e077577b247`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kong/apis/konnect-api-go-sdk/docs/v2/directories/:directoryId/principals/:principalId/basic-auths/:basicAuthId/patch.md) - [API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) - [Page](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v2/directories/:directoryId/principals/:principalId/basic-auths/:basicAuthId/patch)
