---
title: "Rescan scan"
method: POST
path: "/v1/scans/{scan_id}/rescan"
tags: ["scans"]
---

# Rescan scan

`POST /v1/scans/{scan_id}/rescan`

Re-run a existing scan

## Headers

- `X-Team-Id` string

## Response `200`

Example response

- object
  - `id` string
  - `message` string, required
  - `truncated-scan-targets` integer

## Other responses

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

## Changes

- **2024-09-22** `407b73d9ce28` — 2 info
  - added the new optional `header` request parameter `X-Team-Id`
  - added the optional property `truncated-scan-targets` to the response with the `200` status
- **2024-04-19** `ba8a20839440` — 9 breaking, 3 warning, 18 info
  - removed the media type `application/xml` for the response with the status `400`
  - removed the media type `application/xml` for the response with the status `401`
  - removed the media type `application/xml` for the response with the status `500`
  - removed the media type `multipart/form-data` for the response with the status `400`
  - …26 more
- **2024-01-31** `4f557b176ebd` — 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/rescan/post.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/220f0adf9efd/schema)
