Empty Squid
Squid
Empty Squid
Remove all tasks and results from a squid while keeping its configuration intact
POST
Empty Squid
This endpoint removes all tasks and their associated results from a specified squid, returning the number of deleted items while keeping the squid’s configuration intact.
What Gets Deleted
Depending on thetype parameter:
- url: Removes all URL-based tasks and their results
- params: Removes all parameter-based tasks and their results
- Clear old tasks before adding new ones
- Reset a squid without losing its configuration
- Remove tasks that are no longer needed
Headers
Your API authentication token. Value:
Token YOUR_API_KEYMust be application/json. Value:
application/jsonQuery Parameters
The unique identifier (hash) of the squid to empty. Example:
388d6d5e98134294ac612ec9f99dc5b1Request Body
Type of tasks to remove: ‘url’ for URL-based tasks or ‘params’ for parameter-based tasks. Example:
"url"Response Field Explanations
Squid identifier. Example:
"388d6d5e98134294ac612ec9f99dc5b1"Always “squid”. Example:
"squid"Boolean indicating success. Example:
trueNumber of tasks deleted. Example:
150The squid’s configuration (parameters, integrations, schedule) is preserved. Only tasks and results are removed.
Code Examples
Response
200