veryfront__update_account_member

Change an account member's role. Requires account.members.manage.

Risk: mutating.

Arguments

NameTypeRequiredDescription
rolestringYesMember role. Promoting to or demoting from owner requires account ownership authority. The account must retain at least one owner. Setting the current role succeeds without a change.
account_idstringYesProvide the account id.
user_idstringYesProvide the user id.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__update_account_member",    "arguments": {      "role": "<role>",      "account_id": "<account_id>",      "user_id": "<user_id>"    }  }}