Revoke an access code
revoke_access_codeTurn off an access code by id to stop its shared page from opening immediately; existing installs and other codes keep working. Requires confirm: true and Owner or Admin role.
Instructions
Turn off one access code (by its id from list_access_codes). It stops opening the page at once; installs already made stay, and the shared password and other codes keep working. This cannot be undone. Ask the person first and pass confirm: true. Owner or Admin role.
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>",
"confirm": "<confirm>"
},
"name": "revoke_access_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Access code id | |
| confirm | Yes |