Update a managed database
PUT/api/v1/ManagedDatabase/Update/:databaseId
Updates the settings of an existing managed database and its resource, and returns the saved settings. The host entry's name and IP address are updated to match. The database ID in the path must match the one in the body.
Permission required: Administrator or application account.
Values for type: -1 = Unknown, 0 = PostgreSQL, 1 = SqlServer, 2 = Sqlite, 3 = Oracle, 4 = MySql.
Request
Responses
- 200
- 400
- 404
The database was updated; the response holds its settings.
The IDs do not match, the resource or platform is not valid, or the update failed.
No database with that ID exists.