---
title: "Update Scan Config"
method: PATCH
path: "/v1/scans/{scan_id}/config"
tags: ["scans"]
---

# Update Scan Config

`PATCH /v1/scans/{scan_id}/config`

Update scan metadata config

## Query parameters

- `update_type` 'append' | 'replace'

## Headers

- `X-Team-Id` string

## Request body

- ScanConfigUpdateItem
  - `targets` string[]
  - `assets_lists` string[]
  - `templates` string[]
  - `early_templates` string[]
  - `scan_config_ids` string[]
  - `report_config_ids` string[]
  - `alerting_config_ids` string[]
  - `enumeration_ids` EnumerationIDTypes[]
    - `id` string, required
  - `socks5_proxy` string
  - `scan_all_assets` boolean

## Response `200`

OK

- object
  - `ok` boolean

## Other responses

- `400` — Example response
- `401` — Example response
- `500` — Example response
- `default` — Example response

## Changes

- **2025-08-13** `c41cd7ae7718` — 2 info
  - added the new optional request property `scan_all_assets`
  - added the new optional request property `socks5_proxy`
- **2024-09-22** `407b73d9ce28` — 4 warning, 2 info
  - removed the request property `enumeration_ids/items/types`
  - removed the request property `public_templates`
  - removed the request property `template_ids`
  - removed the request property `template_urls`
  - …2 more
- **2024-04-19** `ba8a20839440` — 1 info
  - endpoint added
- **2023-12-05** `5c3748c387f7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/scans/:scan_id/config/patch.md)

---

[API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.dev/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/revisions/c41cd7ae7718/schema)
