Sandboxes
POST /v1/sandboxes
Changed onRequest
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Request body
Example request
{
"creation_id": "6f1c2a9e-3b7d-4e0a-9c55-0d2f8a1b7e43",
"egress_policy": {
"rules": [
{
"cidr": "1.1.1.0/24",
"host": "api.example.com"
}
]
},
"node": "worker-1"
}Response
Sandbox created
Example response
{
"sandbox": {
"egress_policy": {
"rules": [
{
"cidr": "1.1.1.0/24",
"host": "api.example.com"
}
]
}
}
}Changes
- info
added the non-success response with the status
- info
- info
added the new optional request property
creation_id
- info