Logo
30-day challenge API Documentation

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.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status OK

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



Curl
curl -X POST 'https://api.getpostman.com/collections/merge' -H 'Content-Type: application/json' -d '{"strategy":"undefined","source":"undefined","destination":"undefined"}'

ENDPOINTS