Delete contact
  • 18 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Delete contact

  • Dark
    Light
  • PDF

Article Summary

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

LabelKeyTypeRequired?DefaultDescription
Record IDrecordIDStringYesRecord ID of the contact to delete.

Output arguments

Number of outputs: 2

No output arguments.

Events

No events.

Errors

LabelCodeDescription
Unknown errorunknownThrown if an unknown error occurred while deleting the contact.

Was this article helpful?