curl --request DELETE \
--url https://api.projectdiscovery.io/v1/asset \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"filters": {
"is_tech": true,
"is_favicon": true,
"is_new": true,
"labels": "<string>",
"host": "<string>",
"port": "<string>",
"status_code": "<string>",
"content_length": "<string>",
"title": "<string>",
"domain": [
"<string>"
],
"cname": "<string>",
"technologies": "<string>",
"ip": "<string>",
"is_screenshot": true,
"time": "last_day",
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"custom_filter": "<string>",
"search": "<string>",
"enumeration_id": "<string>",
"only_dns": true,
"only_ip": true
}
}'
{
"message": "<string>",
"asset_count": 123
}
Delete asset by filters
curl --request DELETE \
--url https://api.projectdiscovery.io/v1/asset \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"filters": {
"is_tech": true,
"is_favicon": true,
"is_new": true,
"labels": "<string>",
"host": "<string>",
"port": "<string>",
"status_code": "<string>",
"content_length": "<string>",
"title": "<string>",
"domain": [
"<string>"
],
"cname": "<string>",
"technologies": "<string>",
"ip": "<string>",
"is_screenshot": true,
"time": "last_day",
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"custom_filter": "<string>",
"search": "<string>",
"enumeration_id": "<string>",
"only_dns": true,
"only_ip": true
}
}'
{
"message": "<string>",
"asset_count": 123
}
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Example response
The response is of type object
.
Was this page helpful?