---
title: "Reset Datastore"
method: PUT
path: "/datastores/{datastore_id}/reset"
tags: ["/datastores"]
---

# Reset Datastore

`PUT /datastores/{datastore_id}/reset`

Reset the give `Datastore`. This operation is irreversible and it deletes all the documents associated with the datastore.

## Path parameters

- `datastore_id` string, uuid, required — ID of the datastore to edit

## Response `200`

Successful Response

- EmptyResponse

## Other responses

- `422` — Validation Error

## Changes

- **2025-05-08** `17bdb8a33fb4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/contextualai/apis/endpoints/changes/datastores/:datastore_id/reset/put.md)

---

[API](https://skmtc.dev/contextualai/apis/endpoints.md) · [All operations](https://skmtc.dev/contextualai/apis/endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/contextualai/endpoints/revisions/ca7f807eec8b/schema)
