# dropLink

Deletes a link that was created using the `createLink` command.

## Syntax

```mongodb
db.runCommand({ dropLink: <string> });
```

| Option     | Type   | Description                               |
| ---------- | ------ | ----------------------------------------- |
| `dropLink` | String | Specifies the name of the link to delete. |

## Example

The following example deletes a link named **linkC**:

```mongodb
db.runCommand({ dropLink: "linkC" });
```

***

Modified at: January 4, 2024

Source: [/cloud/reference/singlestore-kai/singlestore-extension-commands/droplink/](https://docs.singlestore.com/cloud/reference/singlestore-kai/singlestore-extension-commands/droplink/)

(An index of the documentation is available at /llms.txt)
