Lybic Docs

Create Sandbox

Creates a new sandbox.

POST
/api/orgs/{orgId}/sandboxes

Creates a new sandbox.

Path Parameters

orgId*string

The organization ID

Request Body

application/json

name?string

The name of the sandbox.

Default"sandbox"
maxLifeSeconds?number

The maximum life time of the sandbox in seconds. Default is 1 hour, max is 1 day.

Default3600
Range1 <= value <= 86400
projectId?string

The project id to use for the sandbox. Use default if not provided.

shape*string

Specs and datacenter of the sandbox.

Response Body

application/json

curl -X POST "https://loading/api/orgs/string/sandboxes" \  -H "Content-Type: application/json" \  -d '{    "shape": "string"  }'
{
  "id": "string",
  "name": "string",
  "expiredAt": "2019-08-24T14:15:22Z",
  "expiresAt": "2019-08-24T14:15:22Z",
  "createdAt": "2019-08-24T14:15:22Z",
  "projectId": "string",
  "shapeName": "string",
  "status": "PENDING"
}