Lybic Docs

Create Sandbox

Creates a new sandbox.

POST
/api/orgs/{orgId}/sandboxes

Path Parameters

orgIdstring

The organization ID

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.

shapestring

Specs and datacenter of the sandbox.

Response Body

{
  "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"
}