---
title: "Delete Data Store"
method: DELETE
path: "/data_stores/{data_store_id}"
tags: ["DATA_STORE"]
deprecated: true
---

# Delete Data Store

`DELETE /data_stores/{data_store_id}`

> **Deprecated.**

Deletes a data store. If not exists, returns 404
db: Session = Depends(get_db) is a dependency injection which returns the db session with the tenant
data_store: DataStore to delete
id: data store id
auth=Depends(has_token) is a dependency injection which validates and returns the user_id

## Path parameters

- `data_store_id` integer, required

## Response `200`

Successful Response

- DataStoreDeletionResponse
  - `message` string, required

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user
- `422` — Validation Error

---

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