PUT
/
query
/
{query_id}
curl --request PUT \
  --url https://api.urldna.io/query/{query_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "query_filters": [
    {
      "attribute": "asn",
      "operator": "=",
      "value": "<string>"
    }
  ]
}'
{
  "id": "<string>",
  "name": "<string>",
  "query_filters": [
    {
      "attribute": "asn",
      "operator": "=",
      "value": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

query_id
string
required

Body

application/json

Response

200
application/json

Query object updated

Represents a saved query containing multiple filters to retrieve relevant scan data.