Data lake
Delete saved query
Delete a saved lake query and its schedule.
/data/lake/queries/{query_id}Delete a saved lake query. Cloud also deletes its schedule if one exists. You can no longer run it with saved_query_id. Only the query owner or an admin can delete it.
Past query runs stay in history. Each run keeps the SQL snapshot from when it executed.
Enterprise authentication
Send these requests to https://api.cloud.blnkfinance.com on Blnk Cloud. On a self-hosted Enterprise deployment, send them to ENTERPRISE_PUBLIC_URL.
Pass an Enterprise API key, or an OAuth access token, in the X-blnk-key header. Create the key in Enterprise API keys, or issue a token with Enterprise OAuth.
This credential comes from the Cloud or Enterprise workspace. A Core API key belongs to the Core instance.
X-blnk-keystring
Enterprise API key, or an OAuth access token.
Path
query_idstring
Unique id of the saved query to delete (lake_query_...). Get it from Get saved query.
Response
A successful delete returns 204 No Content with an empty body.