Melepaskan pasangan kunci Android Debug Bridge (ADB) dari satu atau beberapa instans cloud phone.
Deskripsi operasi
After a key pair is detached, the cloud phone no longer stores a valid ADB public key. As a result, ADB connections may fail to authenticate.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| KeyPairId |
string |
Yes |
ID pasangan kunci ADB. |
kp-6v2q33ae4tw3a**** |
| InstanceIds |
array |
No |
ID instans cloud phone. Anda dapat menentukan hingga 50 ID instans. |
|
|
string |
No |
The instance ID. |
acp-5hh431emkt6ua**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Data |
object |
The result object. |
|
| KeyPairId |
string |
The ID of the ADB key pair. |
kp-6v2q33ae4tw3a**** |
| TotalCount |
integer |
The total number of instances for which the detach operation was attempted. |
10 |
| FailCount |
integer |
The number of instances from which the key pair failed to detach. |
0 |
| DetachedInstanceIds |
array |
A list of IDs of the instances from which the key pair was successfully detached. |
|
|
string |
The instance ID. |
acp-5hh431emkt6ua**** |
|
| RequestId |
string |
The request ID. |
69BCBBE4-FCF2-59B8-AD9D-531EB422**** |
Contoh
Respons sukses
JSONformat
{
"Data": {
"KeyPairId": "kp-6v2q33ae4tw3a****",
"TotalCount": 10,
"FailCount": 0,
"DetachedInstanceIds": [
"acp-5hh431emkt6ua****"
]
},
"RequestId": "69BCBBE4-FCF2-59B8-AD9D-531EB422****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.