MCPHerramientas MCP/Clientes/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.

Parámetros
clientIdstringobligatorio
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
userIdstringobligatorio
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "remove_client_portal_user",
    "arguments": {
      "clientId": "string",
      "userId": "string"
    }
  }
}
Respuesta de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.