Melepas ikatan Agen PolarClaw.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
ID aplikasi. |
pa-************** |
| AgentId |
string |
Yes |
ID Agen yang akan dilepas ikatannya. |
work |
| Channel |
string |
Yes |
ID plugin saluran. |
feishu |
| ChannelAccountId |
string |
No |
ID akun saluran. Abaikan parameter ini untuk menghapus semua ikatan untuk ID Agen dan ID plugin saluran yang ditentukan. |
default |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
24A1990B-4F6E-482B-B8CB-75C612****** |
| Message |
string |
The response message. |
successful |
| Code |
integer |
The status code of the response. |
200 |
| ApplicationId |
string |
The application ID. |
pa-******************** |
| AgentId |
string |
The agent ID. |
work |
| RemovedCount |
integer |
The number of removed bindings. |
1 |
| TotalBindings |
integer |
The total number of bindings after the operation. |
0 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "24A1990B-4F6E-482B-B8CB-75C612******",
"Message": "successful",
"Code": 200,
"ApplicationId": "pa-********************",
"AgentId": "work",
"RemovedCount": 1,
"TotalBindings": 0
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.