def METHOD_NAME(client, sample_service):
    auth_header = create_authorization_header()
    sample_service.active = False
    response = client.post("/service/{}/archive".format(sample_service.id), headers=[auth_header])
    assert response.status_code == 204
    assert sample_service.name == "Sample service"