Clone an environment.
post/midgard/v0.1/environment/clone/{environmentId}
Creates a clone of the specified environment with a new name.
Request
Authorization
X-AT
header
apiKey
Path Parameters
environmentId
integer
REQUIRED
Body
application/json
name
string
REQUIRED
keepArtifactIdWhether to preserve the source artifact ID on cloned stack items.
boolean
Response
200Environment cloned successfully.
403User is not allowed to access this resource.
404Environment not found.
422Validation error.
Shell cURL
shell
Show schema
json