Data lake
Delete query schedule
Remove the schedule from a saved lake query.
DELETE
/
data
/
lake
/
queries
/
{query_id}
/
schedule
curl -X DELETE 'https://api.cloud.blnkfinance.com/data/lake/queries/lake_query_f482a1b3-6c2d-4e89-a17b-3d5e8f2a1c94/schedule' \
-H 'X-blnk-key: CLOUD_API_KEY'
{
"error": {
"code": "NOT_FOUND",
"message": "saved lake query not found"
}
}
{
"error": {
"code": "FORBIDDEN",
"message": "lake query mutation is not permitted"
}
}
Remove the schedule from a saved lake query. The query itself stays saved. You can still run it with Create new query. Cloud will not start any more scheduled query runs. Past runs stay in history.
Only the query owner or an admin can delete the schedule.
Authorization
Blnk Cloud APIs support any one of the following authentication methods. All of them work with yourCLOUD_API_KEY or OAUTH_ACCESS_TOKEN.
Pass X-blnk-key: CLOUD_API_KEY or X-blnk-key: OAUTH_ACCESS_TOKEN.
Path
curl -X DELETE 'https://api.cloud.blnkfinance.com/data/lake/queries/lake_query_f482a1b3-6c2d-4e89-a17b-3d5e8f2a1c94/schedule' \
-H 'X-blnk-key: CLOUD_API_KEY'
string
required
Unique id of the saved query whose schedule you want to remove (
lake_query_...). Get it from Get saved query.Response
A successful delete returns204 No Content with an empty body.
{
"error": {
"code": "NOT_FOUND",
"message": "saved lake query not found"
}
}
{
"error": {
"code": "FORBIDDEN",
"message": "lake query mutation is not permitted"
}
}
Need help?
We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.Was this page helpful?
⌘I
curl -X DELETE 'https://api.cloud.blnkfinance.com/data/lake/queries/lake_query_f482a1b3-6c2d-4e89-a17b-3d5e8f2a1c94/schedule' \
-H 'X-blnk-key: CLOUD_API_KEY'
{
"error": {
"code": "NOT_FOUND",
"message": "saved lake query not found"
}
}
{
"error": {
"code": "FORBIDDEN",
"message": "lake query mutation is not permitted"
}
}