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