Creating a duplicate Workspace?

Curious if anyone has any best practices for duplicating a workspace? I’m trying to set up a template workspace that all projects should start from. Right now I’m exporting the collections and environments from the “template” workspace, creating a new workspace and importing them back in.

Is there a better way?

1 Like

Most likely there is no way to this today, but it might be an interesting feature request.

@jpjpjp @vdespa,
You can use the Postman API to achieve this (https://docs.api.getpostman.com)

I have created a Postman Template to help you get started. You can import it and make changes according to what you need. The collection basically fetches the collections, environments etc. in your workspace and creates a duplicate workspace with the same entities using the Postman API

You can import the collection from here - https://explore.postman.com/templates/3974

1 Like

When cloning entities there is still a relationship between the original entity and the newly created one so it’s always best to export and re-import if you would like the entities to stand on their own.

If you end up deleting the cloned workspace you can end up deleting the original workspace as well and the environments that are associated with it (which is NOT recoverable)