API reference
Update a sandbox network policy
Accepts a durable outbound network policy update. Poll the sandbox generations to confirm enforcement.
View MarkdownPATCH/sandboxes/{id}/network-policy
Accepts a durable outbound network policy update. Poll the sandbox generations to confirm enforcement.
Parameters
id· path- Sandbox ID
Request body
application/json
| Field | Type | Description |
|---|---|---|
network_policyRequired | thundertypes.SandboxNetworkPolicy | |
workspace_id | string |
Responses
200 · OK
| Field | Type | Description |
|---|---|---|
generation | integer | |
idRequired | string | |
network_policyRequired | thundertypes.SandboxNetworkPolicy |
400 · Bad Request
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
401 · Unauthorized
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
403 · Forbidden
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
404 · Not Found
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
409 · Conflict
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
500 · Internal Server Error
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
Operation specification
The downloadable Markdown includes the published OpenAPI schema. Use the API origin provided by your compute account.