Update Environment Type
PUT {{apiPath}}/environments/{{envID}}/type
To update the configuration of your environment, you can use PUT /environments/{{envID}} to modify the attributes of the specified environment. The sample shows a SANDBOX environment resource type is changed to PRODUCTION.
Note: You cannot delete a PRODUCTION environment unless you first demote it to SANDBOX. If you have a trial license, you cannot create PRODUCTION environments or promote SANDBOX environments to PRODUCTION.
Prerequisites
- See Environments for important overview information.
For property descriptions, see Environments data model.
| Property | Type | Required? |
|---|---|---|
type | String | Required |
Request Body
{"type"=>"PRODUCTION"}