Transforms
Detach transform from its orchestration
Detaches this transform from its Orchestration Workflow, reverting it to its own schedule. Pass cron_expression to give it one in the same call — without it, a transform that has no schedule of its own is left with nothing to rebuild it (rebuild_trigger becomes "none").
delete/transforms/{id}/orchestration
Path parameters
idstring required
Example:OoORhGXUVjsqFG
The ID of the transform.
Query parameters
cron_expressionstring
Example:0 6 * * *
Cron expression (UTC) to schedule the transform on as it detaches. Requires a published transform materialized as a table. Omit to leave the existing schedule, if any, untouched.
Response
Example response
{
"id": "OoORhGXUVjsqFG",
"name": "marketing_attribution",
"folder_path": "analytics/marketing",
"status": "published",
"materialization": "view",
"sql_template": "SELECT * FROM {{raw.stripe.payments}} WHERE created_at > CURRENT_DATE - 30",
"draft_sql_template": "SELECT * FROM {{raw.stripe.payments}} WHERE created_at > CURRENT_DATE - 7",
"parameters": [
{
"weld_tag": "raw.stripe.payments",
"type": "raw_view",
"dw_item_id": "stripe_schema.payments"
}
],
"documentation": "Calculates marketing attribution.",
"materialization_status": "completed",
"materialization_error": "Column \"foo\" not found in table \"bar\".",
"orchestration_workflow_id": "3LIw2FdxoByya9",
"rebuild_trigger": "schedule",
"cron_expression": "0 6 * * *",
"created_at": "2020-01-01T00:00:00.000Z",
"updated_at": "2020-01-01T00:00:00.000Z"
}