---
title: "Delete Link"
description: "Delete a shareable agent link by token."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/share-agent/delete"
---
# Delete Link

> Delete a shareable agent link by token.

<block-meta block="Yes" channels="Any" folder="share-agent" group="Share Agent" groupTo="/build/workflows/blocks/share-agent" icon="i-lucide-trash" pipe="Value" scope="Any" tool="Yes" type="system.share_agent.delete">



</block-meta>

**Delete Link** removes a hosted [Web chat](https://docs.vettero.com/integrations/chat-integrations) URL by token. Visitors can no longer open `/c/:token`. Use `id` from [Create Link](https://docs.vettero.com/build/workflows/blocks/share-agent/create).

The inspector label is **Id**; the value is the same **token**.

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Id
      </strong>
    </td>
    
    <td>
      Link token (required; literal or variable)
    </td>
  </tr>
</tbody>
</table>

## Handles

<table>
<thead>
  <tr>
    <th>
      Handle
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        In
      </strong>
      
       (target)
    </td>
    
    <td>
      Incoming connection
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Out
      </strong>
      
       (source)
    </td>
    
    <td>
      Continues after the link is deleted
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block reads this on the data pipe (`pipe.value`):

<table>
<thead>
  <tr>
    <th>
      Key
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        ok
      </code>
    </td>
    
    <td>
      boolean
    </td>
    
    <td>
      <code>
        true
      </code>
      
       when the link was deleted
    </td>
  </tr>
</tbody>
</table>

## Use case

- Disable a private conversation URL after the case is closed.
- Rotate event links: delete yesterday’s token after [Create Link](https://docs.vettero.com/build/workflows/blocks/share-agent/create) for today.

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
