Skip to main content

Syntax

deactivateProfile(deleteData)

Description

Deactivates the userโ€™s Contact Profile. While the Contact Profile is deactivated, no data can be read from or written to the Contact Profile. This function can be used to temporarily disable a Contact Profile or to permanently remove data if required. Parameters:
  • deleteData: boolean โ€” if set to true, existing data will be erased from the Contact Profile.
Returns: Promise<any>

Example

Last modified on April 21, 2026