Skip to main content
Browse Documentation

Delete a node

Created by Alex Pop, last updated 07 Aug 2020

Deletes a node by id.

delete(id: string): Promise<void>

Example

client.nodes.delete('c31111e7-76f7-46dd-93fb-cbf81a853a37')
  .then(result => {      
    console.log('API call was successful');              
  })
  .catch(error => {
    console.log('API call fetch error: ', error);      
});