---
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}`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/data_stores/{data_store_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

> **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.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
