Batches
...
Batches API
Searches

Clear Searches

4min

Clear Searches

All of the Searches in a batch can be cleared by making an HTTP DELETE request to the /batches/BATCH_ID/clear endpoint (where BATCH_ID is the id of the Batch).

Batch Status Batches can only be cleared from a Batch when it is not running. To check whether a Batch is currently running use the Get Batch endpoint.



Example

DELETE /batches/BATCH_ID/clear

In the example below we clear a Batch with id=123456 :

Curl
Node.js
Python
PHP


Scale SERP responds with a JSON object confirming that the batch has been cleared:

JSON



Next Steps      Update Search      List Search

Updated 13 Aug 2024
Did this page help you?