> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloudcruise.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete workflow component

> Permanently deletes a workflow component and its full version history.

**Embedded instances**: Workflows that already contain instances of this component keep their pasted nodes — the nodes remain in the workflow but become unlinked (no longer receive propagation). The frontend overlay falls back to a generic "Component" label for orphaned instance nodes.

Use `GET /workflow-components/{component_id}/usage` before deleting to see which workflows reference the component.



## OpenAPI

````yaml workflow-api/workflow-api.yaml delete /workflow-components/{component_id}
openapi: 3.0.0
info:
  title: Workflow API
  version: 1.0.0
  description: API for managing workflows and their metadata
servers:
  - url: https://api.cloudcruise.com
    description: CloudCruise Platform Production API Server
security:
  - AuthScheme: []
paths:
  /workflow-components/{component_id}:
    delete:
      summary: Delete workflow component
      description: >-
        Permanently deletes a workflow component and its full version history.


        **Embedded instances**: Workflows that already contain instances of this
        component keep their pasted nodes — the nodes remain in the workflow but
        become unlinked (no longer receive propagation). The frontend overlay
        falls back to a generic "Component" label for orphaned instance nodes.


        Use `GET /workflow-components/{component_id}/usage` before deleting to
        see which workflows reference the component.
      operationId: deleteWorkflowComponent
      parameters:
        - name: component_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: The ID of the workflow component to delete
        - name: cc-key
          in: header
          required: false
          schema:
            type: string
          description: CloudCruise API key for authentication
      responses:
        '204':
          description: Component deleted successfully (no content)
        '400':
          description: Bad request - `component_id` is not a valid UUID
        '401':
          description: Unauthorized - Invalid or missing authentication
        '404':
          description: Component not found
        '500':
          description: Internal server error
components:
  securitySchemes:
    AuthScheme:
      type: apiKey
      name: cc-key
      in: header
      description: >-
        API key-based authentication. Provide your CloudCruise API key in the
        cc-key header.

````