def METHOD_NAME(client, restore_provider_details, sample_user):
    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({"created_by": sample_user.id, "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