boolean IPS_DeleteInstance (int $InstanceID)
ID of the instance to delete
If the command succeeds, it returns TRUE, otherwise FALSE.
The command deletes an existing instance with the ID InstanceID.
An instance can only be deleted if it has no child objects.
// Delete the Instance 47788 IPS_DeleteInstance(47788);