Error
A valid request URL is required to generate request examples{
"cpu_millicores": 123,
"created_at": "<string>",
"created_by": "<string>",
"dataplane_url": "<string>",
"delete_after_stop_seconds": 123,
"fs_capacity_bytes": 123,
"id": "<string>",
"idle_ttl_seconds": 123,
"labels": {},
"mem_bytes": 123,
"mount_config": {
"auth": {
"aws": {
"access_key_id": {
"is_set": true,
"value": "<string>"
},
"secret_access_key": {
"is_set": true,
"value": "<string>"
}
},
"gcp": {
"service_account_json": {
"is_set": true,
"value": "<string>"
}
}
},
"mounts": [
{
"id": "<string>",
"mount_path": "<string>",
"s3": {
"bucket": "<string>",
"region": "<string>",
"endpoint_url": "<string>",
"path_style": true,
"prefix": "<string>"
},
"type": "s3",
"cache": {
"max_size_bytes": 1,
"writeback_seconds": 1
},
"read_only": true,
"contexthub": {
"repo": "<string>",
"initial_pull_only": true
},
"gcs": {
"bucket": "<string>",
"prefix": "<string>"
},
"git": {
"remote_url": "<string>",
"ref": {
"name": "<string>"
},
"refresh_interval_seconds": 2
}
}
]
},
"name": "<string>",
"preserve_memory_on_stop": true,
"proxy_config": {
"access_control": {
"allow_list": [
"<string>"
],
"deny_list": [
"<string>"
]
},
"callbacks": [
{
"match_hosts": [
"<string>"
],
"ttl_seconds": 1830,
"url": "<string>",
"full_request": true,
"request_headers": [
{
"name": "<string>",
"is_set": true,
"value": "<string>"
}
]
}
],
"no_proxy": [
"<string>"
],
"rules": [
{
"name": "<string>",
"aws": {
"access_key_id": {
"is_set": true,
"value": "<string>"
},
"secret_access_key": {
"is_set": true,
"value": "<string>"
}
},
"enabled": true,
"env_vars": {},
"gcp": {
"scopes": [
"<string>"
],
"service_account_json": {
"is_set": true,
"value": "<string>"
}
},
"headers": [
{
"name": "<string>",
"is_set": true,
"value": "<string>"
}
],
"match_hosts": [
"<string>"
],
"match_paths": [
"<string>"
],
"type": "<string>"
}
]
},
"size_class": "<string>",
"snapshot_id": "<string>",
"status": "<string>",
"status_message": "<string>",
"stopped_at": "<string>",
"updated_at": "<string>",
"updated_by": "<string>",
"vcpus": 123
}{
"detail": {
"error": "<string>",
"error_id": "<string>",
"message": "<string>"
}
}{
"detail": {
"error": "<string>",
"error_id": "<string>",
"message": "<string>"
}
}{
"detail": {
"error": "<string>",
"error_id": "<string>",
"message": "<string>"
}
}{
"detail": {
"error": "<string>",
"error_id": "<string>",
"message": "<string>"
}
}Update a sandbox
Update a sandbox’s display name. The name must be unique within the tenant.
PATCH
/
api
/
v2
/
sandboxes
/
boxes
/
{name}
Error
A valid request URL is required to generate request examples{
"cpu_millicores": 123,
"created_at": "<string>",
"created_by": "<string>",
"dataplane_url": "<string>",
"delete_after_stop_seconds": 123,
"fs_capacity_bytes": 123,
"id": "<string>",
"idle_ttl_seconds": 123,
"labels": {},
"mem_bytes": 123,
"mount_config": {
"auth": {
"aws": {
"access_key_id": {
"is_set": true,
"value": "<string>"
},
"secret_access_key": {
"is_set": true,
"value": "<string>"
}
},
"gcp": {
"service_account_json": {
"is_set": true,
"value": "<string>"
}
}
},
"mounts": [
{
"id": "<string>",
"mount_path": "<string>",
"s3": {
"bucket": "<string>",
"region": "<string>",
"endpoint_url": "<string>",
"path_style": true,
"prefix": "<string>"
},
"type": "s3",
"cache": {
"max_size_bytes": 1,
"writeback_seconds": 1
},
"read_only": true,
"contexthub": {
"repo": "<string>",
"initial_pull_only": true
},
"gcs": {
"bucket": "<string>",
"prefix": "<string>"
},
"git": {
"remote_url": "<string>",
"ref": {
"name": "<string>"
},
"refresh_interval_seconds": 2
}
}
]
},
"name": "<string>",
"preserve_memory_on_stop": true,
"proxy_config": {
"access_control": {
"allow_list": [
"<string>"
],
"deny_list": [
"<string>"
]
},
"callbacks": [
{
"match_hosts": [
"<string>"
],
"ttl_seconds": 1830,
"url": "<string>",
"full_request": true,
"request_headers": [
{
"name": "<string>",
"is_set": true,
"value": "<string>"
}
]
}
],
"no_proxy": [
"<string>"
],
"rules": [
{
"name": "<string>",
"aws": {
"access_key_id": {
"is_set": true,
"value": "<string>"
},
"secret_access_key": {
"is_set": true,
"value": "<string>"
}
},
"enabled": true,
"env_vars": {},
"gcp": {
"scopes": [
"<string>"
],
"service_account_json": {
"is_set": true,
"value": "<string>"
}
},
"headers": [
{
"name": "<string>",
"is_set": true,
"value": "<string>"
}
],
"match_hosts": [
"<string>"
],
"match_paths": [
"<string>"
],
"type": "<string>"
}
]
},
"size_class": "<string>",
"snapshot_id": "<string>",
"status": "<string>",
"status_message": "<string>",
"stopped_at": "<string>",
"updated_at": "<string>",
"updated_by": "<string>",
"vcpus": 123
}{
"detail": {
"error": "<string>",
"error_id": "<string>",
"message": "<string>"
}
}{
"detail": {
"error": "<string>",
"error_id": "<string>",
"message": "<string>"
}
}{
"detail": {
"error": "<string>",
"error_id": "<string>",
"message": "<string>"
}
}{
"detail": {
"error": "<string>",
"error_id": "<string>",
"message": "<string>"
}
}Authorizations
API KeyTenant IDBearer Auth
Path Parameters
Current sandbox display name
Body
application/json
New memory for the sandbox, in bytes. The 4 GiB per vCPU ratio applies when the sandbox is created; a resize enforces only the maximum of 64 GiB.
Show child attributes
Show child attributes
Response
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?
⌘I

