This resource shrinks the pool of database connections in individual instances of a data source.
The resource supports the following methods:
The POST method on this resource shrinks the connection pool in a data source.
This method returns one of the Standard HTTP Status Codes.
This example uses the POST method to shrink the connection pool for a specific 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/shrink
Example Response
HTTP/1.1 200 OK
Response Body:
{"messages": [{
"message": "Data Source 'TestDataSource' was successfully shrunken.",
"severity": "SUCCESS"
}]}