How do I delete a custom property with the new API

  • 27 November 2022
  • 1 reply

Badge +1

This is the API:

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 28 November 2022, 19:13

View original

1 reply

Userlevel 7
Badge +36

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