def METHOD_NAME(client, restore_provider_details):
    provider = ProviderDetails.query.first()
    update_resp_1 = client.post(
        "/provider-details/{}".format(provider.id),
        headers=[("Content-Type", "application/json"), create_authorization_header()],
        data=json.dumps({"active": False}),
    )
    assert update_resp_1.status_code == 200
    update_resp_1 = json.loads(update_resp_1.get_data(as_text=True))["provider_details"]
    assert update_resp_1["identifier"] == provider.identifier
    assert not update_resp_1["active"]
    assert not provider.active