Create Collection on API level

I am able to create a collection with the postman public API using the following endpoint:


In the Postman UI, there is the possibility to create a new collection for an API:

How can I accomplish this using the Postman API?
I would imagine that there is supposed to be an endpoint like




Hey @wilde-it-partenfelde :wave:

I mentioned this in the SO post you created but I think this is what you’re looking for:

Hi @dannydainton,
Thanks for your reply!
Unfortunately, the request is labeled as “deprecated”…
How would I attach a collection to an API? Is that handled with /relations ?