Update account member

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

Arguments

  • rolestringrequired

    Member 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. One of owner, admin, member.

  • account_idstring · uuidrequired

    Provide the account id.

  • user_idstring · uuidrequired

    Provide the user id.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__update_account_member",    "arguments": {      "role": "owner",      "account_id": "00000000-0000-0000-0000-000000000000",      "user_id": "00000000-0000-0000-0000-000000000000"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"user_id\":\"00000000-0000-0000-0000-000000000000\",\"email\":\"string\",\"name\":\"string\",\"avatar_src\":\"string\",\"role\":\"owner\",\"invited_by_user_id\":\"00000000-0000-0000-0000-000000000000\",\"created_at\":\"string\",\"updated_at\":\"string\"}"      }    ],    "structuredContent": {      "user_id": "00000000-0000-0000-0000-000000000000",      "email": "string",      "name": "string",      "avatar_src": "string",      "role": "owner",      "invited_by_user_id": "00000000-0000-0000-0000-000000000000",      "created_at": "string",      "updated_at": "string"    }  }}

The tool ran; its output is result.structuredContent.