Menonaktifkan saluran PolarClaw tertentu.
Deskripsi operasi
Description
Call theDisablePolarClawChannel API to disable a PolarClaw channel for a specific application. Before you perform this operation, make sure you have the target channel ID and the application ID.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
ID aplikasi. |
pa-************** |
| ChannelId |
string |
Yes |
ID unik saluran. |
feishu |
| Restart |
boolean |
No |
Apakah akan memulai ulang gerbang setelah saluran dinonaktifkan. Nilai default: true. |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
2281C6C9-CBAB-1AFD-8400-670750CF6025_2212 |
| Message |
string |
The response message. |
successful |
| Code |
integer |
The response status code. |
200 |
| ApplicationId |
string |
The application ID. |
pa-************** |
| Ok |
boolean |
Indicates whether the operation was successful. |
true |
| ChannelId |
string |
The ID of the disabled channel. |
feishu |
| Restarted |
boolean |
Indicates whether the gateway was restarted. |
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2281C6C9-CBAB-1AFD-8400-670750CF6025_2212",
"Message": "successful",
"Code": 200,
"ApplicationId": "pa-**************",
"Ok": true,
"ChannelId": "feishu",
"Restarted": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.