---
title: "Cancel a scan that has not started"
method: DELETE
path: "/scans/{id}"
---

# Cancel a scan that has not started

`DELETE /scans/{id}`

## Request

- Base URL: `https://api.spacecontext.app/v1`
- URL: `https://api.spacecontext.app/v1/scans/{id}`
- Auth: HTTP bearer

Nothing was charged; its uploads are deleted. Needs `scans:write`.

## Path parameters

- `id` string, required

## Response `204`

Cancelled

## Other responses

- `401`: Error response
- `403`: Error response
- `404`: Error response
- `409`: Error response
- `429`: Too many requests. Retry after the number of seconds in `Retry-After`.

---

[API](https://skmtc.dev/spacecontext/apis/space-context-api.md) · [All operations](https://skmtc.dev/spacecontext/apis/space-context-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spacecontext/apis/space-context-api/revisions/1dca940259b4?raw)
