Logo
15_Days_of_Postman_-_for_testers_IvanKo API Documentation

Pull source changes

POST {{baseUrl}}/environments/{{environmentUid}}/pulls

[Pulls] the changes from a parent (source) environment into the forked environment. Include the following in the request body:

  • source — A string value that contains the unique ID of the environment to pull data from.

 

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/pulls' -d '{"source":"environmentUid"}'

ENDPOINTS