Close partner account
stack_partner_revoke_accountClose an account. Its API key stops working, and every inbound webhook and passport under it is revoked in the same call. Returns transitioned plus the cascade counts (webhooks_revoked, passports_revoked). A repeated call completes a cascade that stopped part-way. The account's audit chain remains intact for the retention window. A closed account's reference is not reused.
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": {
"account_id": "<account_id>"
},
"name": "stack_partner_revoke_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Account id (op_*) |