cURL
curl --request DELETE \ --url https://api.contextual.ai/v1/datastores/{datastore_id} \ --header 'Authorization: Bearer <token>'
{}
Delete a given Datastore, including all the documents ingested into it. This operation is irreversible.
Datastore
This operation will fail with status code 400 if there is an active Agent associated with the Datastore.
Agent
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the datastore to delete
Successful Response
The response is of type EmptyResponse · object.
EmptyResponse · object
Was this page helpful?