This resource resets a data source. When you reset the database connections in a JDBC data source, WebLogic Server closes and recreates all available database connections in the pool of connections in the data source.
The resource supports the following methods:
The POST method on this resource resets the database connections for a data source.
This method returns one of the Standard HTTP Status Codes.
This example uses the POST method to reset the database connections for a data source.
Example Request
curl -v \ --user username:password \ -H X-Requested-By:MyClient \ -H Accept:application/json \ -X POST http://localhost:7001/management/wls/latest/datasources/id/TestDataSource/reset
Example Response
HTTP/1.1 200 OK Response Body: {"messages": [{ "message": "Data Source 'TestDataSource' was successfully reset.", "severity": "SUCCESS" }]}