deletePersonalization(listID, personalizationID)
Deletes a personalization instance of a list component and returns the status.
Returns
The status as a Promise.
Parameters
Name | Type | Description | Required |
listID | string | A unique ID referencing a list component. | ✅ |
personalizationID | string | A unique ID that references the personalization instance to be deleted. | ✅ |
Usage example
In this example, the API deletes a personalization instance and returns the status.
const listId = "443533r555";
const personalizationId = "L_343456";
PCore.getPersonalizationUtils(listID).deletePersonalization(personalizationId);
Previous topic createPersonalization(listID, personalizationID, personalizedState) Next topic fetchPersonalizations(listID)