How to delete the node by using API call?

Hi,

In order to remove the license on SolarWinds, i need to execute the command on the server before they are going to terminate.

Is there any way to remove the node from the Linux agent by using API call?