Environment Actions

Clone environment

You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.

post/environment/{environmentId}/clone

Request

Path parameters

environmentIdstring uuid required

Environment ID

Request body

namestring required

name is case insensitive

cluster_idstring uuid
mode'DEVELOPMENT' | 'PREVIEW' | 'PRODUCTION' | 'STAGING'
apply_deployment_ruleboolean
project_idstring uuid

Example request

{
  "mode": "PRODUCTION"
}

Response

Environment clone has been requested

idstring uuid required
created_atstring date-time required
updated_atstring date-time
namestring required

name is case insensitive

last_updated_bystring uuid

uuid of the user that made the last update

mode'DEVELOPMENT' | 'PREVIEW' | 'PRODUCTION' | 'STAGING' required
cluster_idstring uuid required
cluster_namestring string

Example response

{
  "cloud_provider": {
    "provider": "aws",
    "cluster": "us-east-2"
  },
  "mode": "PRODUCTION"
}

Changes

No recorded changes to this operation across all 1 revision of this API.