Back to Mindsdb

Delete Mind

docs/minds/rest_api/delete_mind.mdx

26.1.0972 B
Original Source

This API endpoint deletes a specific Mind using the DELETE method.

Body

None.

Response

<ResponseField name="status" type="string" required>

HTTP status code indicating success. 200 OK confirms the Mind was deleted.

</ResponseField>

Authorization

A valid API key must be passed in the Authorization header:

Authorization: Bearer MINDS_API_KEY

Generate your API key here.

Path Parameters

<ParamField body='mind_name' type='string' required>

The name of the Mind you want to delete.

</ParamField> <RequestExample>
shell
curl --request DELETE \
     --url 'https://mdb.ai/api/projects/mindsdb/minds/mind_name' \
     --header 'Authorization: Bearer MINDS_API_KEY'
python
from minds.client import Client

client = Client("MINDS_API_KEY", "https://mdb.ai/")

client.minds.drop('mind_name')
</RequestExample> <ResponseExample>
json
200 OK
</ResponseExample>