MCPMCP Tools/Clients/revoke_client_portal_invitations

revoke_client_portal_invitations

Writeclients:write

Revoke the client's outstanding invitation links and remove never-signed-in pending users. Accepted users remain. Returns the number of expired links and pending users removed.

Parameters
clientIdstringrequired
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "revoke_client_portal_invitations",
    "arguments": {
      "clientId": "string"
    }
  }
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Response shape shown for illustration — the actual content depends on the tool and your data.