Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A server extension that allows cleaning the db with a single rest call (use with care)

branch: master
Octocat-spinner-32 src upgrade to 1.8 July 09, 2012
Octocat-spinner-32 .gitignore upgrade to 1.8 July 09, 2012
Octocat-spinner-32 README.md Update README.md April 07, 2012
Octocat-spinner-32 pom.xml upgrade to 1.8 July 09, 2012
README.md

Just put the test-delete-db-extension-VERSION.jar for your Neo4j-VERSION into neo4j-server/plugins and add this to the server properties file

org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.server.extension.test.delete=/db/data/cleandb
org.neo4j.server.thirdparty.delete.key=secret-key

Then you can issue

curl -X DELETE http://localhost:7474/db/data/cleandb/secret-key

to delete the graph database without restarting the server

Something went wrong with that request. Please try again.