---
title: "Changes to Replace a Directory"
method: PUT
path: "/v2/directories/{directoryId}"
---

# Changes to Replace a Directory

`PUT /v2/directories/{directoryId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 155 revisions.

- **2026-11-12** `d8bd04cfbaf7`: 1 breaking, 1 warning, 2 info
- **2026-11-03** `72599e2b1b09`: 6 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-03** `72599e2b1b09`: 6 info
  - added the new optional request property `negative_ttl_secs`
  - added the new optional request property `ttl_secs`
  - added the new optional request property `vault_enabled`
  - added the optional property `vault_enabled` to the response with the `200` status
  - added the required property `negative_ttl_secs` to the response with the `200` status
  - added the required property `ttl_secs` to the response with the `200` status
- **2026-11-02** `7e077577b247`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kong/apis/konnect-api-go-sdk/docs/v2/directories/:directoryId/put.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/put)
