Validate the DatabaseToolsConnection.
POST {{baseUrl}}/databaseToolsConnections/:databaseToolsConnectionId/actions/validateConnection
Validates the Database Tools connection details by establishing a connection to the database.
Request Body
{"type"=>"POSTGRESQL"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | For optimistic concurrency control. In the PUT or DELETE call | |
for a resource, set the if-match parameter to the value of the | |||
etag from a previous GET or POST response for that resource. | |||
The resource will be updated or deleted only if the etag you | |||
provide matches the resource's current etag value. | |||
opc-request-id | string | The client request ID for tracing. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"type":"GENERIC_JDBC","code":"\u003cstring\u003e","message":"\u003cstring\u003e","action":"\u003cstring\u003e","cause":"\u003cstring\u003e"}