# Update packages and scripts through API

**URL:** <https://community.postman.com/t/update-packages-and-scripts-through-api/61616>\
**Category:** Help Hub\
**Tags:** postman-api, package-library\
**Created:** [May 29, 2024, 3:08pm UTC](https://community.postman.com/t/update-packages-and-scripts-through-api/61616 "2024-05-29T15:08:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mvezina-asyhp](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mvezina-asyhp](https://community.postman.com/u/mvezina-asyhp)\
**Post date:** [May 29, 2024, 3:08pm UTC](https://community.postman.com/t/update-packages-and-scripts-through-api/61616/1 "2024-05-29T15:08:37Z")

</div>

Hello,

With the release of Postman 11, I was searching for a way to add or update custom packages in the package library through Postman’s API. I can’t find anything in the the schema regarding this. Was it added?

Also regarding the changes in v11, now that `test` has been replaced by `post-response`, is it something that will be reflected in the API as well? Right now, updating scripts listening to `test` still works.

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [May 29, 2024, 8:00pm UTC](https://community.postman.com/t/update-packages-and-scripts-through-api/61616/2 "2024-05-29T20:00:26Z")

</div>

Hi @mvezina-asyhp. Welcome to the Postman Community!

You currently can’t modify packages using the Postman API. We’re looking into how best to make this possible and available on the API.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [June 4, 2024, 6:52pm UTC](https://community.postman.com/t/update-packages-and-scripts-through-api/61616/3 "2024-06-04T18:52:31Z")

</div>

Hey @mvezina-asyhp,

Could you provide a little more detail and context on how you would use that, if it were made available?

Trying to establish what the potential use case for you would be here.

---

<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:** [July 4, 2024, 6:52pm UTC](https://community.postman.com/t/update-packages-and-scripts-through-api/61616/4 "2024-07-04T18:52:54Z")

</div>

Closed on July 4, 2024, 6:52pm UTC

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