delete_link
Removes a directed link between an experiment and an item in eLabFTW; defaults to dry-run reporting and performs the unlink when dry_run=false.
Instructions
Idempotently remove a directed link between an experiment and an item. WRITE OPERATION when dry_run=false — requires the link write scope. dry_run=true (default) only reports. Returns result: unlinked | already_absent | would_unlink.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_id | Yes | ||
| dry_run | No | ||
| from_id | Yes | ||
| to_type | Yes | ||
| trace_id | No | ||
| from_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |