Merge a fork

POST https://api.getpostman.com/collections/merge

Merges a forked collection back into its destination collection. Include the following required properties in the request body:

  • source — The forked collection's ID.
  • destination — The destination collection's ID.

You can also include the following optional properties in the request body:

  • strategy — The fork's merge strategy. One of:
    • deleteSource — The system deletes the forked collection after a successful merge into the destination collection.
    • updateSourceWithDestinationDefault. The system only merges the forked collection into the destination collection.

Request Body

{"strategy"=>"{{mergeStrategy}}", "source"=>"{{forkCollectionId}}", "destination"=>"{{destinationCollectionId}}"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"collection":{"id":"12ece9e1-2abf-4edc-8e34-de66e74114d2","uid":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2"}}