Delete contact

Deletes a contact from the device contacts list.

Deletes a contact from the device contacts list.

The contact is identified by its Record ID property, which can change during e.g. migration of contacts data to a new device.

Once the contact has been deleted, the first output is triggered.

If there is an error, the second output is triggered.

If the user hasn't given permission to access contacts, they will be requested automatically.

Input arguments

Label

Key

Type

Required?

Default

Description

Record ID

recordID

String

Yes

Record ID of the contact to delete.

Output arguments

Number of outputs: 2

No output arguments.

Events

No events.

Errors

Label

Code

Description

Unknown error

unknown

Thrown if an unknown error occurred while deleting the contact.