duplicateCollection
Copy Postman collections to different workspaces for testing, sharing, or backup purposes. Use the duplicateCollection tool to replicate API collections with optional naming suffixes.
Instructions
Creates a duplicate of the given collection in another workspace.
Use the GET `/collection-duplicate-tasks/{taskId}` endpoint to get the duplication task's current status.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionId | Yes | The collection's unique ID. | |
| workspace | Yes | The workspace ID in which to duplicate the collection. | |
| suffix | No | An optional suffix to append to the duplicated collection's name. |