Merge a Fork
POST
/collections/merge
Collections
name
, id
and uid
.source
) and destination collection UID (as destination
) in the request body.deleteSource
or updateSourceWithDestination
. Following is an explanation of the merge strategiesMerge Strategy | Behaviour |
---|---|
deleteSource | Forked collection is deleted after merging |
updateSourceWithDestination | Forked collection is up to date with changes in destination collection |
Requires API Key as X-Api-Key
request header orapikey
URL query parameter.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.getpostman.com/collections/merge' \
--header 'Content-Type: application/json' \
--data-raw '{
"destination": "{{destination_collection_uid}}",
"source": "{{source_collection_uid}}",
"strategy": "deleteSource"
}'
Response Response Example
{}
Request
Body Params application/json
Responses
Modified at 2023-08-15 05:41:03