---
title: "Deactivate a data store"
method: DELETE
path: "/v1/data-discovery/data-stores/{dataStoreId}"
tags: ["dataDiscovery"]
---

# Deactivate a data store

`DELETE /v1/data-discovery/data-stores/{dataStoreId}`

## Request

- Base URL: `https://api.osano.com`
- URL: `https://api.osano.com/v1/data-discovery/data-stores/{dataStoreId}`
- Auth: API key in header `x-osano-api-key`
- TypeScript: <https://skmtc.dev/osano/apis/osano-api-reference/docs/v1/data-discovery/data-stores/:dataStoreId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deactivate a Data Store by ID.  This will prevent the Data Store from being used in future Data Mapping operations.

## Path parameters

- `dataStoreId` string, required

## Response `204`

Success

## Other responses

- `404`: Not Found

---

[API](https://skmtc.dev/osano/apis/osano-api-reference.md) - [All operations](https://skmtc.dev/osano/apis/osano-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/osano/apis/osano-api-reference/revisions/ac31099cf83e?raw)
