Criteria for deleting contact information

The criteria object specifies which contacts or contact groups to delete and from which database. If no database is specified, the information is deleted from the default database.

The criteria object has two main properties: Type and Data. These are described in the following table. Properties enclosed in brackets are optional.

Note: All string values in the object are Unicode.

Table: Criteria object properties

Property

Description

Type

Value

criteria.Type

Specifies the type of contact information to delete.

string

Possible values:

  • "Contact"

  • "Group"

criteria.Data

Specifies the contact information to delete.

object

Object with the properties specified below

[criteria.Data.DBUri]

Specifies the contacts database from which the information is deleted.

If this property is not specified, the default database is used.

string

 

criteria.Data.IdList

Specifies the unique identifiers of the contacts or contact groups to delete.

Data.IdList[0] contains the ID of the first entry.

array of strings