Stop sharing an automation
unshare_automationTurn off the private share link that share_automation made for one of the user's automations, so nobody else can import it from that link. The automation itself keeps running as before (to switch it off use set_automation_active; to remove it, delete_automation), and copies other accounts already imported stay theirs. Safe to repeat: if it was not shared, nothing changes and revokedLinks is 0. Returns revokedLinks, the number of links turned off.
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": {
"flowId": "<flowId>"
},
"name": "unshare_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | Yes | Id of the automation to stop sharing (from list_automations), not the share link or its token. | |
| idempotencyKey | No | Optional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice. |