import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const graph = await client.graph.delete('name');
console.log(graph);
{}
Delete a graph by name.
Args: name: Name of the graph to delete auth: Authentication context (must have write access to the graph)
Returns: Deletion status
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const graph = await client.graph.delete('name');
console.log(graph);
{}
Successful Response
The response is of type object
.
Was this page helpful?