sfmcsdk / com.salesforce.marketingcloud.sfmcsdk.components.identity / Identity / clearProfileAttributes

clearProfileAttributes

@JvmOverloads fun clearProfileAttributes(keys: List<String>, vararg modules: ModuleIdentifier = ModuleIdentifier.values()): Unit

Method to clear a profile list of attributes on modules identified by ModuleIdentifier If modules are not specified , defaults to all modules via ModuleIdentifier

Parameters

keys - Attribute Keys List for which we have to clear value . It sets value as Blank

modules -

List of modules ModuleIdentifier on which this change need to be applied

Note: This only clears ProfileAttributes on ModuleIdentity initialised via Identity.setModuleIdentity