Clear Data Table Data
post
/rest/v16/adminCustom{tableName}/actions/clearData
This endpoint deletes all rows from the specified data table.
Request
Path Parameters
Root Schema : schema
Type:
Show Source
object
-
onlyInvalidRows:
boolean
Title:
Only invalid rows
Parameter to indicate to delete only invalid rows
Response
404 Response
Requested resource(s) not found
500 Response
Unexpected error
Default Response
no content
Examples
The following examples show how to delete all rows from the specified data table by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" https://sitename.oracle.com/rest/v16/adminCustomStatus/actions/clearData
Request Body Sample (Clear Filtered Data)
{ "q": "{$or:[{StatusLabel:'CREATED'},{StatusID:8}]}" }