Skip to main content
Solved

How do I delete a custom property with the new API

  • November 27, 2022
  • 1 reply
  • 700 views

Forum|alt.badge.img+2

This is the API:
https://developers.klaviyo.com/en/reference/update_profile

I want to delete a custom tag from a certain profile via API.
Delete, not set to blank or null.

(In the legacy API, I managed to use the “$unset” successfully.)

Best answer by Brian Turcotte

Hi @meitalmtz and welcome to the Community!

 

The $unset feature that was available but undocumented in the v1-2 APIs is actually out of scope for the new APIs, so it’s not possible to delete profile properties with the new APIs at the moment. 

 

However, this feature is being considered for reimplementation in future releases, so I will update the thread if there’s any news there. In the meantime, the legacy APIs won’t be end-of-lifed until January of 2024, so you can still use them to remove properties as outlined in these Community posts:

 

I hope this helps to clarify, and thanks for using the Community!

 

- Brian

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • November 28, 2022

Hi @meitalmtz and welcome to the Community!

 

The $unset feature that was available but undocumented in the v1-2 APIs is actually out of scope for the new APIs, so it’s not possible to delete profile properties with the new APIs at the moment. 

 

However, this feature is being considered for reimplementation in future releases, so I will update the thread if there’s any news there. In the meantime, the legacy APIs won’t be end-of-lifed until January of 2024, so you can still use them to remove properties as outlined in these Community posts:

 

I hope this helps to clarify, and thanks for using the Community!

 

- Brian