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

# Unlink a port

> Disconnects an exit so the path stops there. No step or block is deleted, and any actions on the exit stay.



## OpenAPI

````yaml /specs-prettified/realtime/openapi.stable.json delete /v1/stable/workflow/{workflowID}/step/{stepID}/link/{portKey}
openapi: 3.0.0
info:
  title: Realtime
  description: Realtime gateway API service
  version: 1.0.0
  contact: {}
servers:
  - url: https://realtime-api.voiceflow.com
security: []
tags: []
paths:
  /v1/stable/workflow/{workflowID}/step/{stepID}/link/{portKey}:
    delete:
      tags:
        - Workflow
      summary: Unlink a port
      description: Disconnects an exit so the path stops there. No step or block is
        deleted, and any actions on the exit stay.
      operationId: StableWorkflowController_unlink
      parameters:
        - name: workflowID
          required: true
          in: path
          schema:
            type: string
          x-vf-doc:
            description: The ID of the workflow to operate on.
          description: The ID of the workflow to operate on.
        - name: stepID
          required: true
          in: path
          schema:
            type: string
          x-vf-doc:
            description: The ID of the step to operate on.
          description: The ID of the step to operate on.
        - name: portKey
          required: true
          in: path
          schema:
            type: string
          x-vf-doc:
            description: "The port to operate on: next, fail, else, no-reply, or the ID of a
              branch."
          description: "The port to operate on: next, fail, else, no-reply, or the ID of a
            branch."
        - name: projectID
          required: true
          in: query
          schema:
            type: string
            description: The ID of the project to operate on.
        - name: environmentAlias
          required: true
          in: query
          schema:
            type: string
            description: The alias of the environment to operate on (e.g. `main`).
      responses:
        "200":
          description: Confirms the port now leads nowhere. Returns the link with its step
            and port; a port that already led nowhere is reported as such and
            nothing is written.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/StableWorkflowLinkResponse"
          x-vf-doc:
            description: Confirms the port now leads nowhere. Returns the link with its step
              and port; a port that already led nowhere is reported as such and
              nothing is written.
      security:
        - token: []
components:
  schemas:
    StableWorkflowLinkResponse:
      type: object
      properties:
        message:
          type: string
        link:
          type: object
          properties:
            stepID:
              type: string
            port:
              type: string
            to:
              nullable: true
              description: The block the port leads to now, or null.
              type: string
          required:
            - stepID
            - port
            - to
      required:
        - message
        - link
  securitySchemes:
    token:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Voiceflow bearer token
````
