deleteContact( )


Deletes a contact.

Deleting a contact permanently removes it from the contact list. If a contact is also a site member or Wix user, or has a valid billing subscription, the contact can't be deleted. The related site member or Wix user must first be deleted and any valid billing subscriptions must be canceled, before the contact can be deleted.

Members are typically linked to contacts, and while they share a relationship, the member ID and contact ID are distinct identifiers. Make sure to specify the contact ID when calling Delete Contact.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Members and Contacts - all permissions
Manage Contacts
Manage Members
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
contactIdstringRequired

ID of the contact to delete.

Errors
428Failed Precondition

There are 3 errors with this status code:

500Internal

There is 1 error with this status code:

See the entire list and learn more about Wix errors.

Did this help?