from meibelai import Meibelai
import os
with Meibelai(
api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""),
) as m_client:
res = m_client.datasources.delete_datasource(datasource_id="<id>")
# Handle response
print(res)
Copy
Ask AI
{
"id": "<string>"
}
Datasources
Delete Datasource
DELETE
/
datasource
/
{datasource_id}
Python (SDK)
Copy
Ask AI
from meibelai import Meibelai
import os
with Meibelai(
api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""),
) as m_client:
res = m_client.datasources.delete_datasource(datasource_id="<id>")
# Handle response
print(res)