Update Environment

PUT https://api.getpostman.com/environments/{{environment_uid}}

updates environment after run

Request Body

{"environment"=>{"name"=>"FDA POC Text", "values"=>[{"key"=>"userId", "value"=>"{{userId}}"}, {"key"=>"folder", "value"=>"{{folder}}"}, {"key"=>"AlertText", "value"=>"{{AlertText}}"}, {"key"=>"lastCheckTime", "value"=>"{{lastCheckTime}}"}, {"key"=>"twilioAccount", "value"=>"{{twilioAccount}}"}, {"key"=>"fromPhone", "value"=>"{{fromPhone}}"}, {"key"=>"toPhone", "value"=>"{{toPhone}}"}, {"key"=>"AlertMessage", "value"=>""}, {"key"=>"environment_uid", "value"=>"{{environment_uid}}", "description"=>""}]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
X-Api-Keystring