Skip to main content
DELETE
/
v1
/
workflows
/
{workflow_id}
/
blocks
/
{block_id}
from retab import Retab

client = Retab()

client.workflows.blocks.delete(
    workflow_id="wf_abc123xyz",
    block_id="extract-1",
)
(empty body)

Documentation Index

Fetch the complete documentation index at: https://docs.retab.com/llms.txt

Use this file to discover all available pages before exploring further.

Delete a block from a workflow’s draft. Every edge connected to the block (incoming or outgoing) is deleted with it — you don’t need to clean those up first. If the block is a container (while_loop, for_each), its child blocks become orphaned (their parent_id is reset to null) but are otherwise preserved.
from retab import Retab

client = Retab()

client.workflows.blocks.delete(
    workflow_id="wf_abc123xyz",
    block_id="extract-1",
)
(empty body)

Authorizations

Api-Key
string
header
required

Path Parameters

workflow_id
string
required
block_id
string
required

Query Parameters

access_token
string | null

Response

Successful Response