curl --request PATCH \
--url https://api.projectdiscovery.io/v1/asset/enumerate/group/{group_id} \
--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
},
"name": "<string>"
}
'{
"message": "<string>"
}Update an asset group by customising the filters
curl --request PATCH \
--url https://api.projectdiscovery.io/v1/asset/enumerate/group/{group_id} \
--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
},
"name": "<string>"
}
'{
"message": "<string>"
}Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Append vs Replace update_type. Default is append
append, replace Show child attributes
Return records that have technologies
Return the records that have favicon
Filter by new content
Filter by comma separated labels, e.g-> labels=p1,p2
Filter by comma separated hosts, e.g-> host=p1,p2
Filter by comma separated ports, e.g-> port=p1,p2
Filter by comma separated status codes, e.g-> status_code=p1,p2
Filter by comma separated content lengths, e.g-> content_length=p1,p2
Filter by comma separated titles, e.g-> title=p1,p2
Filter by comma separated domain names, e.g-> domain=domain1.com,domain2.com
Filter by comma separated cnames, e.g-> cname=p1,p2
Filter by comma separated technologies, e.g-> technologies=p1,p2
Filter by comma separated ips, e.g-> ip=p1,p2
Return the records with screenshots
Filter by time range
last_day, last_week, last_month, last_3_months, last_6_months, last_12_months, all_time Filter by start date
Filter by end date
Filter by custom filter. Double encode the query string.
Search on the content name
Filter by enumeration id
Query only dns FQDN records
Query only dns IP records
Example response
Was this page helpful?