Purge Captured Images
post
/management/weblogic/{version}/serverRuntime/WLDFRuntime/WLDFImageRuntime/purgeCapturedImages
Delete captured images specified by the age criteria.
Request
Supported Media Types
- application/json
Path Parameters
-
version: string
The version of the WebLogic REST interface.
Header Parameters
-
X-Requested-By: string
The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Must contain the following fields:
Root Schema : Arguments
Type:
objectTitle:
Show Source
Arguments-
age(optional):
string
Purge diagnostic images older than specified age specified in the format Days:Hours:Minutes. If empty or null all existing image files on disk are purged. The hours and minutes components are optional.
Security
-
Admin: basic
Type:
basicDescription:A user in the Admin security role.
Response
200 Response
Returns the following fields:
Examples
Remove all of the captured images.
This example uses the POST method to remove all of the captured images.
Example Request
curl -v \
--user admin:admin123 \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-H Content-Type:application/json \
-d "{
age: ''
}" \
-X POST http://localhost:7001/management/weblogic/latest/serverRuntime/WLDFRuntime/WLDFImageRuntime/purgeCapturedImages
Example Response
HTTP/1.1 200 OK
Response Body:
{}
Back to Top