Delete site membership data
subscriptions_deleteDeletes membership plans and legacy membership plans of the site, and ends the access periods of site members. Cannot be undone.
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": {
"action": "<action>",
"site_id": "<site_id>"
},
"name": "subscriptions_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Legacy membership plan id. | |
| action | Yes | Operation to run. Each oneOf entry describes one action and lists its parameters. | |
| confirm | No | Confirmation of this deletion. Not needed unless the server refuses the call because the site owner requires it; that refusal says what to do. | |
| plan_id | No | Membership plan id. | |
| site_id | Yes | Site to change: site_id from list_sites. Required: the call works only on this site, whatever select_site chose. | |
| subscription_id | No | Id of an access period (subscription) of a site member. |