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

# Update Scan

`PATCH /v1/scans/{scan_id}`

## Request body

- object
  - `name` string, required

## Response `200`

Example response

- object
  - `message` string, required

## Other responses

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

## Changes

- **2024-01-31** `4f557b176ebd` — 1 info
  - added the non-success response with the status `400`
- **2023-12-06** `35be9c1301b7` — 1 info
  - api tag `scans` added
- **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/4f557b176ebd/schema)
