Delete User Share (config only)
share_deleteDeletes an empty Unraid user share's configuration through emhttpd, verifies its .cfg file is gone, and refuses if files remain. Requires confirmation, risk acknowledgment, and SSH.
Instructions
⚠ Deletes an EMPTY user share's configuration through emhttpd (the web UI's own delete, via emcmd over SSH) and verifies that /boot/config/shares/.cfg is gone. Never deletes files: if /mnt/user/ still contains anything the tool refuses and says where the data lives. Requires confirm: true AND acknowledge_risk: true, plus SSH.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "share_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact name of the empty share whose configuration to delete, from share_list. | |
| confirm | No | Set `true` only after the user approves this specific change; otherwise the tool refuses or prompts them. | |
| acknowledge_risk | No | Set `true` only after the user accepts the risk; needed with `confirm` on every call. |