Lybic Docs

Create a machine image from a sandbox

POST
/api/orgs/{orgId}/machine-images

Path Parameters

orgId*string

组织 ID

Request Body

application/json

sandboxId*string

The sandbox ID to create image from.

name*string

The name of the machine image.

Length1 <= length <= 100
description?string

Optional description of the machine image.

Lengthlength <= 500

Response Body

application/json

curl -X POST "https://loading/api/orgs/string/machine-images" \  -H "Content-Type: application/json" \  -d '{    "sandboxId": "string",    "name": "string"  }'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "shapeName": "string",
  "status": "CREATING"
}