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

clearProfileAttribute

@JvmOverloads fun clearProfileAttribute(key: String, vararg modules: ModuleIdentifier = ModuleIdentifier.values()): Unit

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

Parameters

key - Attribute key 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