v1

latestOpenAPI 3.0.12026-07-178692133.1 KB
Environment2Service

Update an environment

put/mr-api/environment/{eid}/v2

Request body

versioninteger required

Version of the record, included for attempting to update out of date records

namestring nullable
descriptionstring nullable
productionboolean nullable

is this a production environment?

environmentInfoobject nullable

Allows some settings that affect the behaviour of this environment. Currently cacheControl if set will be passed and set on the responses to GET requests.

priorEnvironmentIdstring uuid nullable

Response

Resulting environment

whenCreatedstring date-time
whenUpdatedstring date-time
idstring uuid
applicationIdstring uuid
namestring required
priorEnvironmentIdstring uuid
versioninteger
descriptionstring
productionboolean

is this a production environment?

environmentInfoobject nullable
whenArchivedstring date-time