docs/minds/rest_api/delete_datasource.mdx
This API endpoint deletes a specific Datasource using the DELETE method.
None.
HTTP status code indicating success. 200 OK confirms the Datasource was deleted.
A valid API key must be passed in the Authorization header:
Authorization: Bearer MINDS_API_KEY
Generate your API key here.
The name of the Datasource you want to delete.
</ParamField> <RequestExample>curl --request DELETE \
--url https://mdb.ai/api/datasources/datasource_name \
--header 'Authorization: Bearer MINDS_API_KEY'
from minds.client import Client
client = Client("MINDS_API_KEY", "https://mdb.ai/")
client.datasources.drop('datasource_name')
200 OK