system.kanoa.attribute.deleteAttributeWithHistory
Description
Deletes an attribute that has history by removing any event data associated with this attribute.Syntax
deleteAttributeWithHistory(attributeId, userId)- int attributeId - Attribute ID
- int userId - User ID
- int - Number of records modified
Code Examples
# Example usage
attributeId = 1
userId = 123
modifiedRecords, message = system.kanoa.attribute.deleteAttributeWithHistory(attributeId, userId)
print(modifiedRecords, message) # Print the number of modified records and message