database-connections

Update a Database Connection

Update the specified Database Connection.</br></br>Provide a complete representation of the Database Connection that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Database Connection.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Database Connection might not function as expected.

patch/lib/database-connections/{id}

Path parameters

idstring required

The <code>id</code> of the Database Connection to update.

Request body

authTypestring required
configObjstring
connectionStringstring
connectionTimeoutnumber
credsSecretsstring
databaseType'mysql' | 'oracle' | 'postgres' | 'sqlserver' required
descriptionstring required
idstring required
passwordstring
requestTimeoutnumber
tagsstring
textSecretstring
userstring

Response

a list of DatabaseConnectionConfig objects

countinteger

number of items present in the items array

Changes