DeletePersonaAttribute

The DeletePersonaAttribute action deletes a specific attribute from a given persona, removing its stored value.

DeletePersonaAttribute(
    id: str,
    field: str
)

Parameters

ParameterTypeDescription
idstrThe UUID of the persona whose attribute you want to delete.
fieldstrThe name of the attribute to delete.

Example

{% set user_id = GetUser().id | string %}

{{ DeletePersonaAttribute(id=user_id, field="temporary_data") }}

The above code snippet deletes the "temporary_data" attribute from the current user's persona.