Skip to main content
delete_graph(graph_name=None, options=)[source]

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

Parameters

graph_name (str) –

Name of the graph to be deleted.

options (dict of str to str) –

Optional parameters. Allowed keys are:

  • 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’. Allowed values are:

    • true

    • false

    The default value is ‘true’.

  • server_id – Indicates which graph server(s) to send the request to. Default is to send to get information about all the servers.

The default value is an empty dict ( ).

Returns

A dict with the following entries–

result (bool) –

Indicates a successful deletion.

info (dict of str to str) –

Additional information.