MCPMCP Tools/Clients/update_client_portal_user
update_client_portal_user
Writeclients:write
Enable or disable a client's portal user, or transfer ownership with makePrimary=true. Matches the UI's row actions. Email and names cannot be changed here.
Parameters
status"active" | "disabled"optional
makePrimarybooleanoptional
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": "update_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.