POST
/
projects
/
{id}
/
vpc
/
networks
curl --request POST \
  --url https://api.mkinf.io/v0.1/projects/{id}/vpc/networks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "cidr": "172.27.0.0/16",
  "name": "my-cool-vpc-network"
}'
{
  "operation": {
    "completed_at": "2021-12-03T19:59:34Z",
    "metadata": {},
    "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
    "result": {},
    "started_at": "2021-12-03T19:58:34Z",
    "state": "IN_PROGRESS"
  }
}

Create a new VPC network in a project.

Required Parameters

  • name: Network name

Optional Parameters

  • cidr: Network CIDR range

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Project id

Body

application/json

Response

200 - application/json

The response is of type object.