Database

Update database by ID

Update database configuration by ID

put/databases/{id}

Path parameters

idstring required

MongoDB ObjectId represented as a hexadecimal string

Object ID

Request body

_idstring

MongoDB ObjectId represented as a hexadecimal string

namestring
descriptionstring
data_sourcestring

Type of database (mongodb, mysql, etc.)

hoststring
portinteger
uristring
databasestring
usernamestring
passwordstring
statusstring
errorstring
activeboolean
active_atstring date-time
is_defaultboolean
created_atstring date-time
updated_atstring date-time
created_bystring

MongoDB ObjectId represented as a hexadecimal string

updated_bystring

MongoDB ObjectId represented as a hexadecimal string

Response

Database updated successfully

codeinteger
messagestring

Changes