Deleting a custom attribute from your Personalize project helps maintain an organized set of attributes and ensures that only relevant data is tracked.
This guide walks you through the steps required to delete non-referenced and referenced custom attributes from your project, allowing you to clean up unused or redundant attributes.
Note: Users with Owner and Member access to a Personalize project can delete existing custom attributes.
Note: We assumed that you have already created a Personalize project. If not, follow this guide to create a project in Personalize.
The difference between a non-referenced and a referenced custom attribute.
How to delete a non-referenced custom attribute.
How to remove a referenced attribute from audience rules and then delete it.
To delete the custom attribute, follow the steps:
A non-referenced attribute in Contentstack Personalize is a custom attribute that is not currently being used in any audience rules or segmentations within your project.
To delete an existing non-referenced custom attribute, log in to your Contentstack account and perform the following steps:

You will get a success message after the custom attribute is deleted from Personalize.
A referenced attribute in Contentstack Personalize is a custom attribute that is currently being used in audience rules or segmentations within your project.
This means that the attribute is actively involved in defining the conditions or criteria for targeting specific audiences with personalized experiences.
As a result, deleting a referenced attribute requires additional steps to ensure that existing audience definitions and personalization strategies are not disrupted. This involves first removing the attribute from any audience rules where it is used, and then proceeding with its deletion.
To delete an existing referenced custom attribute, log in to your Contentstack account and perform the following steps:

Note: To delete custom attributes from a referenced audience, ensure that the experience associated with that audience is in ‘Draft’ status.

You get a success message after the custom attribute is deleted from Personalize.
Warning: Deleting a custom attribute might affect the Audience segmentation, experience performance, and the data for that attribute will no longer be collected from that point onward.