def METHOD_NAME(default_config):
    # we can use PUT to create a new configuration (like POST)
    input_json = {'network': 'foo', 'klass': 'jcdecaux', 'args': {'user': 'a'}}
    def check(resp):
        assert resp['network'] == input_json['network']
        assert resp['klass'] == input_json['klass']
        assert resp['args'] == input_json['args']
        assert resp['discarded'] == False
    resp, status = api_put(
        'v0/bss_providers/foo', data=json.dumps(input_json), content_type='application/json', check=False
    )
    assert status == 201
    check(resp)
    input_json['network'] = 'velib'
    resp = api_put('v0/bss_providers/foo', data=json.dumps(input_json), content_type='application/json')
    check(resp)