Delete Pipeline

Delete_Pipeline deletes a GovTribe pipeline by ID and removes its associated pursuits as part of the same action path.

Input Contract

Delete_Pipeline accepts a single required identifier and uses model binding before action execution. The request resolver validates pipeline_id as a string GovTribe ID, binds it to an existing pipeline model, and enforces delete authorization for the calling user context. If the ID is missing, malformed, not found, or not authorized for the caller, the request fails before the delete action runs. Because this operation removes the pipeline and its pursuits, callers should verify the target record before sending the request.

  • pipeline_id: GovTribe pipeline identifier for the pipeline to delete.

    • type: string

    • required: yes

    • default: n/a

Output Contract

  • Top-level keys:

    • response

  • Row keys:

    • n/a

  • Relationship retrieval map:

    • pipeline_id (input context)

      • tool: Search_Pipelines

      • filter: pipeline_ids

      • fallback: after deletion this lookup may return zero rows; use previously captured pipeline details for history.

    • pipeline_id -> linked pursuits (pre-delete context)

      • tool: Search_Pursuits

      • filter: pipeline_ids

      • fallback: after deletion, related pursuits are expected to be removed and may no longer be retrievable.

Usage Patterns

Pattern A: Delete a known pipeline directly. Tool: Delete_Pipeline

Last updated

Was this helpful?