code: def update_external_account(resource_root, account):
    
    return call(resource_root.put,
        EXTERNAL_ACCOUNT_PATH % ("update",),
        ApiExternalAccount, False, data=account)
docs: Update an external account
    @param resource_root: The root Resource object.
    @param account: Account to update, account name must be specified.
    @return: An ApiExternalAccount object, representing the updated external account