Change a delivery
Only the fields sent change, and only those of the delivery's type: frequency, recipients, direct_link for an email; connection_id, path for cloud storage; enabled for both. New recipients outside the workspace get a confirmation email, within the workspace's quotas (429 confirmation_quota: nothing is changed).
ApiKeyAuthX-Api-Key<token>id*stringThe project's id
1 <= lengthdelivery_id*stringThe delivery's id
1 <= lengthapplication/json- body
enabled?booleanWhether it delivers; false keeps its settings and sends nothing
frequency?stringrun: at the end of each run; daily and weekly: a summary at 07:00 UTC (weekly on Mondays); never: paused
"run""daily""weekly""never"recipients?array<>Members of the workspace receive at once; other addresses get a confirmation email first
1 <= items <= 20direct_link?booleanAdd a signed download link (7 days) to the email. Off by default: the link opens the run in the dashboard, behind sign-in
connection_id?stringThe cloud connection to upload to, from GET /v1/cloud-connections
1 <= lengthpath?stringObject key under the connection's prefix; variables {project} (the name, as a slug), {project_id}, {run_id}, {date} (YYYY-MM-DD), {time} (HHMMSS, UTC), {format}. It must hold {format}, so each format gets its own file. Default {project}/{date}/{run_id}.{format}
1 <= length <= 300Saved
application/json- response
id*stringtype*string"email""cloud"enabled*booleanemail*|nullcloud*|nulllast_sent_at*|The last digest sent
last_error*string|nulllast_error_at*string|nullfailure_count*integercreated_at*stringupdated_at*stringcurl -X PATCH 'https://dataflow.piloterr.com/v1/projects/string/deliveries/string' \
-H 'Content-Type: application/json' \
-d '{
"enabled": false
}'{
"id": "cm4lc8h2j000fl208n6wq1tzs",
"type": "email",
"enabled": false,
"email": {
"frequency": "run",
"direct_link": false,
"recipients": [
{
"email": "finance@example.com",
"status": "verified"
}
]
},
"cloud": null,
"last_sent_at": "2026-11-10T07:00:12.000Z",
"last_error": null,
"last_error_at": null,
"failure_count": 0,
"created_at": "2026-11-09T08:00:00.000Z",
"updated_at": "2026-11-09T08:00:00.000Z"
}