Revoke Site Share
revoke_site_shareRevoke a site share by ID to stop an unused link, disable a connected key, delete related WordPress application passwords, and reset the staging gate password while keeping the staging copy.
Instructions
End a site share by id (from list_site_shares). If the link has not been used, it stops working. If the other person already connected, their key is disabled and their app or agent loses access within seconds. Ending it also deletes any WordPress application password that share created (on the live site and on a staging copy made during the share) and resets the staging site's gate password; the staging copy itself is kept. Confirm with the user first.
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": {
"id": "<id>"
},
"name": "revoke_site_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The share id from list_site_shares. | |
| dry_run | No | Show what would be revoked, without revoking it. |