Delete Cloud Phone
FreshBatch delete cloud phones.
URL: https://openapi.geelark.com/open/v1/phone/deleteMethod: POST
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| ids | Yes | array[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
| Code | Description |
|---|---|
| 42001 | Cloud phone does not exist |
| 43009 | Cloud phone is started, cannot delete |
| 43010 | Cloud phone is starting, cannot delete |
| 43021 | Cloud phone is in use |