deleteContact( )
Deletes a contact who is not a site member or contributor.
The deleteContact()
function returns a Promise
that resolves when the specified contact is deleted.
Deleting a contact permanently removes them from your Contact List.
If the contact is also a site member, the member must be deleted first, and then the contact can be deleted.
Permission Scopes
For app development, you must have one of the following permission scopes:Manage Contacts
Manage Members and Contacts - all permissions
Manage Members
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
contactIdstringRequired
ID of the contact to delete.
Was this helpful?
Yes
No