Add environment(s) to a project.
post/midgard/v0.1/environment
Creates one or more environments for a given project. When blueprintId is supplied, the environment is created from that blueprint.Request
Authorization
X-AT
header
apiKey
Body
application/json
blueprintId
integer
projectId
integer
REQUIRED
environments
array object[]
REQUIRED
object {}
name
string
REQUIRED
typeWhen type is "local", a local-dev environment will be created.
string
main
boolean
displayOrder
integer
Response
201Environment(s) added successfully.
403Access denied.
404Project not found.
422Validation error.
Shell cURL
shellShow schema
json