# How do we update the existing collection for any update in the API

**URL:** <https://community.postman.com/t/how-do-we-update-the-existing-collection-for-any-update-in-the-api/32198>\
**Category:** Help Hub\
**Created:** [February 3, 2022, 1:55pm UTC](https://community.postman.com/t/how-do-we-update-the-existing-collection-for-any-update-in-the-api/32198 "2022-02-03T13:55:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![artivermablr](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@artivermablr](https://community.postman.com/u/artivermablr)\
**Post date:** [February 3, 2022, 1:55pm UTC](https://community.postman.com/t/how-do-we-update-the-existing-collection-for-any-update-in-the-api/32198/1 "2022-02-03T13:55:24Z")

</div>

How do we update the existing collection for any update in the API. Can this be automated. Need urgent help on this topic.

For example:  
Whenever there is an addition of new attribute or change in the existing field name in the API, how do we handle these updates in postman.

---

<div class="post-metadata">

**Author:** ![Kurmavatar](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kurmavatar/32/3026_2.png) [@Kurmavatar](https://community.postman.com/u/Kurmavatar)\
**Post date:** [February 7, 2022, 4:50am UTC](https://community.postman.com/t/how-do-we-update-the-existing-collection-for-any-update-in-the-api/32198/2 "2022-02-07T04:50:35Z")

</div>

Hi @artivermablr 👋

At the moment, collection linked to the API can be manually updated by choosing the “Validate API” option in the respective element linked to the API. More details are below:

> **[Validating APIs](https://learning.postman.com/docs/designing-and-developing-your-api/validating-elements-against-schema/#validating-elements)**

---

<div class="post-metadata">

**Author:** ![artivermablr](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@artivermablr](https://community.postman.com/u/artivermablr)\
**Post date:** [February 7, 2022, 9:40am UTC](https://community.postman.com/t/how-do-we-update-the-existing-collection-for-any-update-in-the-api/32198/3 "2022-02-07T09:40:53Z")

</div>

Hi. Thank you for the reply. I am unable to validate the API since the specification is swagger: “2.0”.

Do you know how can i validate .

---

<div class="post-metadata">

**Author:** ![Kurmavatar](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kurmavatar/32/3026_2.png) [@Kurmavatar](https://community.postman.com/u/Kurmavatar)\
**Post date:** [February 10, 2022, 7:06am UTC](https://community.postman.com/t/how-do-we-update-the-existing-collection-for-any-update-in-the-api/32198/4 "2022-02-10T07:06:15Z")

</div>

That is true. The message also suggests the same:

![image](https://us1.discourse-cdn.com/getpostman/original/2X/0/07cf310be640b594f167d9ca140299d4961f6d9a.png)  
In this case, regenerating a new collection and deleting the old one may be the only workaround.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 12, 2024, 12:55pm UTC](https://community.postman.com/t/how-do-we-update-the-existing-collection-for-any-update-in-the-api/32198/5 "2024-12-12T12:55:16Z")

</div>

Closed on December 12, 2024, 12:55pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
