EnablePolarClawChannel
Enables a PolarClaw channel.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
The ID of the application. |
pa-************** |
| ChannelId |
string |
Yes |
The ID of the channel. |
feishu |
| Restart |
boolean |
No |
Specifies whether to restart the gateway after the channel is enabled. The default value is |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The ID of the request. |
3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF |
| Message |
string |
The message returned in the response. |
successful |
| Code |
integer |
The response status code. |
200 |
| ApplicationId |
string |
The ID of the application. |
pa-************** |
| Ok |
boolean |
Indicates whether the operation was successful. |
true |
| ChannelId |
string |
The ID of the enabled channel. |
feishu |
| Restarted |
boolean |
Indicates whether the gateway was restarted. |
true |
Examples
Success response
JSON format
{
"RequestId": "3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF",
"Message": "successful",
"Code": 200,
"ApplicationId": "pa-**************",
"Ok": true,
"ChannelId": "feishu",
"Restarted": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.