cURL
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
name
cidr
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Project id
The response is of type object.
object