> For the complete documentation index, see [llms.txt](https://docs.snyk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snyk.io/scan-fix-and-prevent/scan-with-snyk/snyk-api-web/start-scanning/overview-scan-management/pause-scans.md).

# Pause scans

You can pause and resume scans on demand and automatically using blackout periods.

## Pause and resume a scan on demand

To pause an ongoing scan:

1. Click the caret icon within the **Stop** button to open the options menu, and select **Pause** for any ongoing scan.

   <figure><img src="/files/54avwriCXnGpohKX4Mz7" alt="Stop button dropdown menu showing Pause option"><figcaption></figcaption></figure>
2. You can pause a scan from various pages:
   * List of targets
   * Target page
   * Scan results page
   * List of scans
3. Alternatively, you can pause a scan by calling the API.
4. After you pause a scan, Snyk API & Web stops crawling or scanning your site. Pausing a scan takes a while, and its status changes to **Pausing**.

## Stop a paused scan

You can **Stop** a paused scan, or **Resume** and pick up from where it left off.

If a paused scan is not resumed in the next seven days, Snyk automatically stops (cancels) it. Snyk notifies and reminds you to resume a scan you paused on demand.

## Blackout period: pause and resume scans automatically

Besides pausing and resuming scans on demand, you can also set up a blackout period (timeframe), that prevents new scans from starting and automatically pauses ongoing scans.

To set a blackout period:

1. Navigate to the **Targets** page and click the **gear icon** to access the target settings.
2. Select the **Scanner** tab and locate the **SCANNING BLACKOUT PERIOD** section.
3. Set start and end times when you want scans to be paused and resumed.
4. Select the day or days of the week to apply that schedule.
5. Save your settings.

For example, you can configure scans to run only from 6:00 AM–11:00 PM each day, pausing them overnight and resuming the next morning.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.snyk.io/scan-fix-and-prevent/scan-with-snyk/snyk-api-web/start-scanning/overview-scan-management/pause-scans.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
