Detaches an Android Debug Bridge (ADB) key pair from one or more cloud phone instances.
Operation description
- After you detach an ADB key pair from a cloud phone instance, the ADB connection will fail. This occurs because the system can no longer authenticate using a valid ADB public key, leading to authentication errors.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
KeyPairId | string | Yes | The ID of the ADB key pair. | kp-6v2q33ae4tw3a**** |
InstanceIds | array | No | The IDs of the cloud phone instances. You can specify a maximum of 50 cloud phone instances. | |
string | No | The ID of the cloud phone instance. | acp-5hh431emkt6ua**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"Data": {
"KeyPairId": "kp-6v2q33ae4tw3a****",
"TotalCount": 10,
"FailCount": 0,
"DetachedInstanceIds": [
"acp-5hh431emkt6ua****"
]
},
"RequestId": "69BCBBE4-FCF2-59B8-AD9D-531EB422****"
}
Error codes
For a list of error codes, visit the Service error codes.