def METHOD_NAME(
    lris, observing_run_token, manage_sources_token, red_transients_group
):
    run_details = {
        'instrument_id': lris.id,
        'pi': 'Danny Goldstein',
        'observers': 'D. Goldstein, P. Nugent',
        'group_id': red_transients_group.id,
        'calendar_date': '2020-02-16',
    }
    status, data = api(
        'POST', 'observing_run', data=run_details, token=observing_run_token
    )
    assert status == 200
    assert data['status'] == 'success'
    run_id = data['data']['id']
    new_date = {'calendar_date': '2020-02-17'}
    run_details.update(new_date)
    status, data = api(
        'PUT', f'observing_run/{run_id}', data=new_date, token=manage_sources_token
    )
    assert status == 401
    assert data['status'] == 'error'