Connections

Update connection

Update a database connection. Admin only.

patch/connections/{id}

Request

  • Base URL: https://app.aifordatabase.com/api/v1
  • URL: https://app.aifordatabase.com/api/v1/connections/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Resource ID

Request body

namestring
type'POSTGRES' | 'MYSQL' | 'MARIADB' | 'MSSQL' | 'MONGODB' | 'SQLITE'
hoststring
portinteger
databasestring
usernamestring
passwordstring

Database password (write-only, never returned). encryptedPassword is accepted as an alias.

encryptedPasswordstring

Alias of password.

sslEnabledboolean

ssl is accepted as an alias.

isActiveboolean

Response

Connection updated

errorunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.