« Back to Product

Documentation

IPS_DeleteInstance

 boolean IPS_DeleteInstance (int $InstanceID) 

Parameters

InstanceID

ID of the instance to delete

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

The command deletes an existing instance with the ID InstanceID.

Warning

An instance can only be deleted if it has no child objects.

Example

// Delete the Instance 47788
IPS_DeleteInstance(47788);
Any questions?