Hi Team! Is there any API through which I can add...
# ask-questions
f
Hi Team! Is there any API through which I can add a value (append to list) in a saved group? I tried this one https://docs.growthbook.io/api/#tag/saved-groups/operation/updateSavedGroup But this overwrites the existing values in the saved group. For example, If the saved group list container
["u1", "u2"]
and I send this payload:
Copy code
{
  "values": [
    "u4",
    "u5"
  ]
}
It simply overwrites u1 and u2
can someone help here?
f
Hi Tyagi - absent of an endpoint that does exactly what you want - you can fetch the values first and then append, and write it all back