#jorge.heredia
1 messages · Page 1 of 1 (latest)
hello, let me check, one sec
tnx!
you simply set a new metadata hash, so e.g. if you had
a: 1
b: 2
c: 3
and you wanted to remove a
you just update the object's metadata with the same hash without the keys you don't want
We tried this way, by only updating the key a as null. Is this incorrect?
by only updating the key a as null
no you misunderstood, pls re-read my answer
you pass the entire new metadata hash without the key you don't want
so in my goal here: #1178792819767394364 message
you pass
b: 2
c: 3
Okay, we'll try in this way.
ah wait one sec
think I made an error in my repro
ah sorry I'm wrong, there was an error in my repro
give me a min
I appreciate it!
ah got it
The goal for us is to delete all these keys (a) from the set of metadata fields, and prevent it to appear in the list when you want to add new fields from the dashboard.
so to delete/unset something in the API, you pass "" as the value.
So what you need is
1/ first unset the entire metadata to clear it by passing
metadata: ""
2/ then, pass the "new" metadata you want.