Skip to content

Delete Cloud Phone

Fresh

Batch delete cloud phones.

URL: https://openapi.geelark.com/open/v1/phone/deleteMethod: POST

Request Parameters

ParameterRequiredTypeDescription
idsYesarray[string]Cloud phone IDs (max 100)

Request Example

json
{
  "ids": ["123456ABCDEF", "789012GHIJKL"]
}

Response Example

json
{
  "code": 0,
  "msg": "success",
  "traceId": "12345ABCDEF",
  "data": {
    "totalAmount": 4,
    "successAmount": 2,
    "failAmount": 2,
    "failDetails": [
      { "code": 42001, "id": "12345ABCDEF", "msg": "env not found" },
      { "code": 43009, "id": "12345ABCDEF", "msg": "env is started" }
    ]
  }
}

Error Codes

CodeDescription
42001Cloud phone does not exist
43009Cloud phone is started, cannot delete
43010Cloud phone is starting, cannot delete
43021Cloud phone is in use

GEELark API Documentation - Built with VitePress