Skip to main content
POST
Enable environment internal networking
This endpoint is only available for environments on a Private Cloud cluster.
Required permission: environment.edit

Authorizations

Authorization
string
header
required

The Bearer Token generated on the Cloud UI.

Path Parameters

environment
string
required

The environment identifier

Body

application/json
access_level
enum<string>
required

Which environments can send internal traffic to this environment: all environments on the same cluster, or only the specific environments in environment_ids.

Available options:
all,
specific
environment_ids
string[]

The IDs of the environments that can send internal traffic to this environment. Required when access_level is specific. Each environment must belong to your organization and run on the same cluster.

Response

EnvironmentResource

data
EnvironmentResource · object
required
included
(ApplicationResource · object | BranchResource · object | DeploymentResource · object | DomainResource · object | InstanceResource · object | DatabaseSchemaResource · object | CacheResource · object | FilesystemResource · object | WebsocketApplicationResource · object | SecretResource · object)[]