Skip to main content
Create Environment
This endpoint is not live yet. The shapes below show how it is expected to work so you can plan your integration, and may change before release. Calls to this path return 404 today.

Authorizations

Authorization
string
header
required

Your account API token, sent as Authorization: Bearer <api_token>. Owners and admins can read the token from the LocalOps console.

Body

application/json
name
string
required

Name of the environment

project_id
string<uuid>
required

The LocalOps project the environment belongs to

cloud_connection_id
string<uuid>
required

The cloud account connection to create the environment in

cloud_region_code
string
required

For example aws-us-east-1 or gcp-us-central1

custom_cidr
string

VPC CIDR block. LocalOps picks one when omitted.

Response

Environment create accepted

message
string
data
object