Search code examples
graphtitangremlingremlin-server

How can I delete a Vertex in Gremlin Server Titan 1.0


I'm using Titan 1.0 Version and Gremlin Server with REST Api for creating and updating Vertex details. How can I delete the vertex using vertexId?


Solution

  • you can use drop property to delete a vertex like :

    g.V(vertexId).drop()

    you will find more details about drop property on following link :

    TinkerPop3 Documentation