DevelopersAPIReferencemembers
Update member
Needs users:manage, in a signed-in session (legacy changeUserRole). Send a role for its preset, or a role plus an exact permissions list.
PATCH
bearerAuthheader
Authorization<token>A Walletguide API key (wg_…) or an OAuth bearer token. Paste the value only. Create a key under Wallet settings → API keys.
walletId*stringRow uuid
Format
uuiduserId*stringusers row uuid
Format
uuidapplication/json- body
role*stringThe role to grant: editor (read and write everything, connect banks) or viewer (read everything). The owner role is never granted: a wallet has exactly one owner. With permissions the role is derived from the list instead.
Value in
"editor""viewer"permissions?array<>|An exact permission list instead of the role's preset. A list equal to a preset is stored as that role. Omit or send null for the preset.
Items
1 <= itemsUpdated
application/json- response
ok*trueValue in
truecurl -X PATCH 'https://api.walletguide.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/members/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{ "role": "editor"}'Example Response
{ "ok": true}