---
title: "Update Scan"
method: PATCH
path: "/v1/scans/{scan_id}"
---

# Update Scan

`PATCH /v1/scans/{scan_id}`

## Request body

- object
  - `name` string, required

## Response `200`

OK

- object
  - `message` string, required

## Other responses

- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

- **2023-12-05** `5c3748c387f7` — 13 warning, 2 info
  - deleted the `header` request parameter `X-Team-Id`
  - removed the optional property `code` from the response with the `401` status
  - removed the optional property `code` from the response with the `500` status
  - removed the optional property `error` from the response with the `401` status
  - …11 more

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/scans/:scan_id/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/cd865d59d034/schema)
