[Neo4j] Delete a graph in Neo4J REST server

andrew ton andrewton6 at yahoo.com
Fri Oct 21 17:20:49 CEST 2011



Hi Jake,

Thank you for the explanation and information!

Regards,

________________________________
From: Jacob Hansson <jacob.hansson at neotechnology.com>
To: Neo4j user discussions <user at lists.neo4j.org>
Sent: Friday, October 21, 2011 1:46 AM
Subject: Re: [Neo4j] Delete a graph in Neo4J REST server

On Fri, Oct 21, 2011 at 2:14 AM, andrew ton <andrewton6 at yahoo.com> wrote:

>
>
> Hello,
>
> Is there a API or a way to delete a graph in the Neo4J REST server? For
> example, I can send a REST request to delete the root of the graph then all
> nodes under that root are also removed.
>
> Thanks,
>

Hi Andrew,

deleting the root node will only remove the root node, the rest of the graph
will remain intact.

The server on it's own can't delete the full database in one go, but you can
use this server plugin to add that functionality:

https://github.com/jexp/neo4j-clean-remote-db-addon

/jake


> _______________________________________________
> Neo4j mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Jacob Hansson
Phone: +46 (0) 763503395
Twitter: @jakewins
_______________________________________________
Neo4j mailing list
User at lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


More information about the User mailing list