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

client = Retab()

client.workflows.blocks.delete(
    "extract-1",
)
(empty body)
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(
    "extract-1",
)
(empty body)

Authorizations

Api-Key
string
header
required

Path Parameters

block_id
string
required

Query Parameters

workflow_id
string | null

Disambiguates a block id that is shared by more than one workflow. Required only when the block id is not unique within your organization.

Response

Successful Response