# Updating Collection entry via API

**URL:** <https://discourse.getcockpit.com/t/updating-collection-entry-via-api/2560>\
**Category:** Uncategorized\
**Created:** [November 15, 2022, 2:42pm UTC](https://discourse.getcockpit.com/t/updating-collection-entry-via-api/2560 "2022-11-15T14:42:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SKWeb](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@SKWeb](https://discourse.getcockpit.com/u/SKWeb)\
**Post date:** [November 15, 2022, 2:42pm UTC](https://discourse.getcockpit.com/t/updating-collection-entry-via-api/2560/1 "2022-11-15T14:42:03Z")

</div>

Hi - very new to Cockpit as I’ve been asked by a client to do a bit of work on an existing site.

I am trying to update a collection entry via a HTTP request:

[https://mydomain.com/api/collections/save/member/?token=xxxxxxxxxxxx&\_id=xxxxxxxxxxx&first\_name=ted](https://mydomain.com/api/collections/save/member/?token=xxxxxxxxxxxx&_id=xxxxxxxxxxx&first_name=ted)

But nothing is updated.

If I use:

[https://mydomain.com/api/collections/get/member/?token=xxxxxxxxxxxx&\_id=xxxxxxxxxxx](https://mydomain.com/api/collections/get/member/?token=xxxxxxxxxxxx&_id=xxxxxxxxxxx)

I see the entry’s data in the browser as I’d expect.

I’m sure I’m missing something really obvious! Can anyone point it out please!

Thanks
