---
title: "Changes to Update a Database Connection"
method: PATCH
path: "/lib/database-connections/{id}"
---

# Changes to Update a Database Connection

`PATCH /lib/database-connections/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 89 revisions.

- **2026-10-18** `fd542bb248a2`: 2 warning, 12 info
- **2026-09-12** `3816b6fddba1`: 1 warning, 11 info
- **2026-07-23** `e9bef570d106`: 4 breaking, 7 warning, 15 info
- **2026-05-15** `484cda0ad459`: 2 info
- **2026-03-06** `11df16b26c1d`: 1 info

## Changes

- **2026-10-18** `fd542bb248a2`: 2 warning, 12 info
  - added the new `keypair` enum value to the `items/items/authType` response property for the response status `200`
  - added the new `snowflake` enum value to the `items/items/databaseType` response property for the response status `200`
  - added the new optional request property `accountIdentifier`
  - added the new optional request property `pem`
  - added the new optional request property `role`
  - added the new optional request property `warehouse`
  - added the new `keypair` enum value to the request property `authType`
  - added the new `snowflake` enum value to the request property `databaseType`
  - added the non-success response with the status `423`
  - added the non-success response with the status `503`
  - added the optional property `items/items/accountIdentifier` to the response with the `200` status
  - added the optional property `items/items/pem` to the response with the `200` status
  - added the optional property `items/items/role` to the response with the `200` status
  - added the optional property `items/items/warehouse` to the response with the `200` status
- **2026-09-12** `3816b6fddba1`: 1 warning, 11 info
  - added the new `teradata` enum value to the `items/items/databaseType` response property for the response status `200`
  - added the new optional request property `credentialsSecret`
  - added the new optional request property `database`
  - added the new optional request property `host`
  - added the new optional request property `logOnMechanism`
  - added the new optional request property `sslmode`
  - added the new `teradata` enum value to the request property `databaseType`
  - added the optional property `items/items/credentialsSecret` to the response with the `200` status
  - added the optional property `items/items/database` to the response with the `200` status
  - added the optional property `items/items/host` to the response with the `200` status
  - added the optional property `items/items/logOnMechanism` to the response with the `200` status
  - added the optional property `items/items/sslmode` to the response with the `200` status
- **2026-07-23** `e9bef570d106`: 4 breaking, 7 warning, 15 info
  - request property `authType` was restricted to a list of enum values
  - added the pattern `^[a-zA-Z0-9_\\-]+$` to the request property `id`
  - the `connectionTimeout` request property type changed from `number` to `integer`
  - the `requestTimeout` request property type changed from `number` to `integer`
  - the `connectionTimeout` request property's max was set to `60000.00`
  - the `connectionTimeout` request property's min was set to `1000.00`
  - the `requestTimeout` request property's min was set to `1000.00`
  - added the new `configObj` enum value to the `items/items/authType` response property for the response status `200`
  - added the new `connectionString` enum value to the `items/items/authType` response property for the response status `200`
  - added the new `secret` enum value to the `items/items/authType` response property for the response status `200`
  - added the new `secrets` enum value to the `items/items/authType` response property for the response status `200`
  - added the new optional request property `tls`
  - added the new `configObj` enum value to the request property `authType`
  - added the new `connectionString` enum value to the request property `authType`
  - added the new `secret` enum value to the request property `authType`
  - added the new `secrets` enum value to the request property `authType`
  - added the media type `application/json` for the response with the status `401`
  - added the non-success response with the status `400`
  - added the non-success response with the status `404`
  - added the optional property `details` to the response with the `500` status
  - added the optional property `items/items/tls` to the response with the `200` status
  - the response property `count` became required for the status `200`
  - the response property `items` became required for the status `200`
  - the response property `message` became required for the status `500`
  - the `items/items/id` response's property pattern `^[a-zA-Z0-9_\\-]+$` was added for the status `200`
  - added the required property `status` to the response with the `500` status
- **2026-05-15** `484cda0ad459`: 2 info
  - api tag `databaseConnections` added
  - api tag `database-connections` removed
- **2026-03-06** `11df16b26c1d`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/criblio/apis/cribl-api-reference/docs/lib/database-connections/:id/patch.md) - [API](https://skmtc.dev/criblio/apis/cribl-api-reference.md) - [Page](https://skmtc.dev/criblio/apis/cribl-api-reference/changes/lib/database-connections/:id/patch)
