Skip to main content
POST
Clone an environment

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Path Parameters

id
string
required

Source Environment ID

Body

application/json

Clone configuration

name
string

Name of the new environment (required when target_environment_id is not provided)

target_environment_id
string

TargetEnvironmentID is the ID of an existing environment to clone into (optional). When provided, Name and Type are ignored. When omitted, Name and Type are required.

type
enum<string>
Available options:
development,
production

Response

Accepted

message
string
run_id
string
workflow_id
string