---
title: "DELETE /datastore/{datastoreId}"
method: DELETE
path: "/datastore/{datastoreId}"
---

# DELETE /datastore/{datastoreId}

`DELETE /datastore/{datastoreId}`

Delete a data store.

Before a data store can be deleted, you must first delete all image sets within it.

## Path parameters

- `datastoreId` string, required

## Response `200`

Success

- DeleteDatastoreResponse
  - `datastoreId` string, required — The data store identifier.
  - `datastoreStatus` 'CREATING' | 'CREATE_FAILED' | 'ACTIVE' | 'DELETING' | 'DELETED', required — The data store status.

## Other responses

- `480` — ThrottlingException
- `481` — ConflictException
- `482` — AccessDeniedException
- `483` — ValidationException
- `484` — InternalServerException
- `485` — ResourceNotFoundException

---

[API](https://skmtc.net/aws/apis/medical-imaging.md) · [All operations](https://skmtc.net/aws/apis/medical-imaging/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/medical-imaging/versions/a4a282481097/schema)
