Skip to main content
PATCH
/
api
/
v1
/
issues
/
bulk
Bulk update issues
curl --request PATCH \
  --url https://neo.api.projectdiscovery.io/api/v1/issues/bulk \
  --header 'Content-Type: application/json' \
  --data '
{
  "update": {
    "assignee": "<string>",
    "confidence": "confirmed",
    "priority": "critical",
    "severity": "critical",
    "status": "unverified",
    "tags": [
      "<string>"
    ],
    "tags_add": [
      "<string>"
    ],
    "tags_remove": [
      "<string>"
    ],
    "type": "vulnerability"
  },
  "comment": "<string>",
  "filters": {
    "affected_host": "<string>",
    "assignee": "<string>",
    "component": "<string>",
    "confidence": [
      "confirmed"
    ],
    "created_after": "2023-11-07T05:31:56Z",
    "created_before": "2023-11-07T05:31:56Z",
    "cve_id": "<string>",
    "cwe_id": "<string>",
    "host": "<string>",
    "ip_address": "<string>",
    "max_cvss": 123,
    "min_affected": 123,
    "min_cvss": 123,
    "port": 123,
    "priority": [
      "critical"
    ],
    "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "search": "<string>",
    "severity": [
      "critical"
    ],
    "source": [
      "<string>"
    ],
    "status": [
      "unverified"
    ],
    "tags": [
      "<string>"
    ],
    "target": "<string>",
    "target_type": "<string>",
    "task_id": "<string>",
    "template_id": "<string>",
    "type": [
      "vulnerability"
    ]
  },
  "issue_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "matched": 123,
  "updated": 123,
  "issue_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.neo.projectdiscovery.io/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

At least one of issue_ids or filters is required. When both are provided, only issues matching both inputs are updated.

update
object
required
comment
string

Reason for bulk change (creates a comment on each affected issue)

filters
object
issue_ids
string<uuid>[]

Explicit issue IDs to update. Maximum 1000 IDs per request.

Maximum array length: 1000

Response

Bulk update result

matched
integer
required
updated
integer
required
issue_ids
string<uuid>[]