Skip to main content
Update network configuration

인증

Authorization
string
header
기본값:Bearer {API_ACCESS_TOKEN}
필수

CoreWeave API access token sent as a bearer token.

경로 매개변수

networkConfigId
string
필수

쿼리 매개변수

updateMask
string<field-mask>

Comma-separated JSON paths: spec.egress, spec.denyEgress, spec.ingress, spec.denyIngress, and spec.dnsEgress. Omission selects populated mutable fields; an explicitly empty mask is a no-op. To replace all mutable fields in JSON, select all five paths. Selected fields omitted from the body reset to their defaults. The wildcard * is supported only over binary protobuf (gRPC or Connect protobuf), not JSON Connect or REST requests.

본문

application/json

NetworkConfig is the desired network document a sandbox binds 1:1.

spec
object
필수

NetworkOptions declares the sandbox's network intent beyond port exposure.

networkConfigId
string

Immutable, organization-unique ID matching ^[a-z][a-z0-9-]{2,62}$. Choose the ID on CreateNetworkConfig, without the reserved nc- prefix. The platform assigns an nc- ID when it creates a configuration automatically for a sandbox.

etag
string

Optional concurrency token. Send the last returned value in the NetworkConfig update body to protect a desired-state write. A mismatch on that write returns ABORTED with CWSANDBOX_ETAG_MISMATCH. A bound update whose resulting spec already matches stored desired state reapplies enforcement without checking the token. Omitting the token permits the last persisted desired-state write to win. The token does not make enforcement atomic.

응답

OK

NetworkConfig is the desired network document a sandbox binds 1:1.

spec
object
필수

NetworkOptions declares the sandbox's network intent beyond port exposure.

networkConfigId
string

Immutable, organization-unique ID matching ^[a-z][a-z0-9-]{2,62}$. Choose the ID on CreateNetworkConfig, without the reserved nc- prefix. The platform assigns an nc- ID when it creates a configuration automatically for a sandbox.

status
object
etag
string

Optional concurrency token. Send the last returned value in the NetworkConfig update body to protect a desired-state write. A mismatch on that write returns ABORTED with CWSANDBOX_ETAG_MISMATCH. A bound update whose resulting spec already matches stored desired state reapplies enforcement without checking the token. Omitting the token permits the last persisted desired-state write to win. The token does not make enforcement atomic.