How to create a new person label via API?

I am trying to create a new person label using the api.
Following the guidelines at https://pipedrive.readme.io/docs/working-with-labels I must first read all the existing person labels, which returns ids, labels and colors. I must then write all this back, appending another item to the array (without an id), just the label and color.

I have done this in n8n to prove the concept - but only the existing labels are returned, the new one is ignored.

What am I missing please?

Hey!

To update the label options, you need to use POST /api/v2/personFields/label_ids/options, PATCH /api/v2/personFields/label_ids/options and DELETE /api/v2/personFields/label_ids/options endpoints instead.

More info about them can be found in our API reference: Pipedrive API v1 Dev References (PersonFields) - Person API Params & More - Learn - Test - Try Now