MCPMCP Tools/Clients/remove_client_portal_user

remove_client_portal_user

Writeclients:write

Remove a client's portal user and expire their outstanding sign-in links. Transfer ownership first if the owner has other users.

Parameters
clientIdstringrequired
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
userIdstringrequired
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "remove_client_portal_user",
    "arguments": {
      "clientId": "string",
      "userId": "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.