DeleteObject
DeleteObject(ObjectType As Integer, ObjectId As Integer) As Integer
Deletes the specified object.
The type of the object to delete is defined by <ObjectType>:
- 0 = Tag
- 2 = User
- 3 = Call group
- 4 = Tag group
- 6 = Team
- 10 = Station
The <ObjectId> parameter gives the OId of the object to delete.
Returns 0 if the object is deleted (or does not exist) or an error code.