Logo
15_Days_of_Postman_-_for_testers_IvanKo API Documentation

Merge a fork

POST {{baseUrl}}/environments/{{environmentUid}}/merges

[Merges] a forked environment back into its parent environment. Include the following in the request body:

  • source — A string value that contains the source environment's unique ID to merge data from.
  • deleteSource — A boolean value that, if true, deletes the forked environment when it merges.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "environment": { "uid": "12345678-d9c7dc8f-904e-4bba-99b5-4d490aae1957" } }



Curl
curl -X POST 'https://api.getpostman.com/environments/environmentUid/merges'

ENDPOINTS