---
title: "Archive Scans"
method: POST
path: "/api/cmp/v1/webscans/archive"
tags: ["Scans"]
---

# Archive Scans

`POST /api/cmp/v1/webscans/archive`

Use this API to archive the specified scans.

## Request body

- string[]

## Response `200`

OK

- EntityActionResponseDto[]
  - `entityId` string, uuid — The unique identifier of the entity.
  - `entityType` 'SCAN' | 'DOMAIN' | 'COOKIE' — The type of entity such as cookie, tag, page, form, service, or storage.
  - `action` 'ARCHIVE' | 'SCHEDULE' | 'SCHEDULE_CANCEL' | 'EDIT' | 'CREATE' | 'DELETE' — The action that was performed or is to be performed.
  - `message` string — The message or notification text.
  - `content` object — The main content or data payload of the response.
  - `success` boolean — This flag indicates whether the operation completed successfully.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
