---
title: "Clear down internal storage"
method: DELETE
path: "/import/internal-storage"
tags: ["Import"]
---

# Clear down internal storage

`DELETE /import/internal-storage`

Deletes all objects from internal target storage under the configured prefix.

## Query parameters

- `sourceType` 'internal' | 'external'

## Response `200`

Storage cleared

- ClearDownStorageResponse
  - `deletedKeys` string[]
  - `totalDeleted` integer
  - `success` boolean
  - `message` string
  - `deletedAtUtc` string, date-time

## Other responses

- `499` — Client closed request

---

[API](https://skmtc.net/defra/apis/keeper-data-bridge-api.md) · [All operations](https://skmtc.net/defra/apis/keeper-data-bridge-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/defra/keeper-data-bridge-api/revisions/0ab7d7a7a24f/schema)
