Clone to a new environment
POST {{baseUrl}}/orgs/{{org_id}}/apps/{{app_id}}/envs
This request will create a new environment. With the from_deploy_id
field in the payload we define the environment to be based of that deployment.
Request Body
{"id"=>"my-staging-env", "name"=>"My Staging", "type"=>"development", "from_deploy_id"=>"{{last_deploy_id}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |