Delete Graph

Deletes an existing graph from the graph server and/or persist.

Input Parameter Description

NameTypeDescription
graph_namestringName of the graph to be deleted.
optionsmap of string to strings

Optional parameters. The default value is an empty map ( {} ).

Supported Parameters (keys)Parameter Description
delete_persist

If set to true, the graph is removed from the server and persist. If set to false, the graph is removed from the server but is left in persist. The graph can be reloaded from persist if it is recreated with the same 'graph_name'. The default value is true. The supported values are:

  • true
  • false
server_idIndicates which graph server(s) to send the request to. Default is to send to get information about all the servers.

Output Parameter Description

NameTypeDescription
resultbooleanIndicates a successful deletion.
infomap of string to stringsAdditional information.