code: func (api *API) UpdateAccountMember(accountID string, userID string, member AccountMember) (AccountMember, error) {
  	if accountID == "" {
  		return AccountMember{}, errors.New(errMissingAccountID)
  	}
  
  	uri := fmt.Sprintf("/accounts/%s/members/%s", accountID, userID)
  
  	res, err := api.makeRequest("PUT", uri, member)
  	if err != nil {
  		return AccountMember{}, errors.Wrap(err, errMakeRequestError)
  	}
  
  	var accountMemberListResponse AccountMemberDetailResponse
  	err = json.Unmarshal(res, &accountMemberListResponse)
  	if err != nil {
  		return AccountMember{}, errors.Wrap(err, errUnmarshalError)
  	}
  
  	return accountMemberListResponse.Result, nil
  }
docs: // UpdateAccountMember modifies an existing account member.
  //
  // API reference: https://api.cloudflare.com/#account-members-update-member