Create a new network for an environment
post/midgard/v0.1/network
Request
Authorization
X-AT
header
apiKey
Body
application/json
environmentIdEnvironment ID to attach the application to
integer
descriptionA description for this network
string
defaultMark this environment as default
boolean
typeGive a type for this network
string
subnets
array object[]
object {}
descriptionA description for this subnet
string
cidrThe CIDR block for this subnet
string
defaultMark this subnet as default
boolean
Response
200Network created
403User is not allowed to access this resource.
422The specified environment was not found.
500Internal Server Error - Network creation failed.
Shell cURL
shellShow schema
json