UpgradePolarClawChannel
Upgrades 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 application ID. |
pa-************** |
| ChannelId |
string |
Yes |
The channel ID. |
feishu |
| PluginId |
string |
No |
The ID of the channel plugin. |
openclaw-feishu |
| NpmPackage |
string |
No |
The npm package name of the channel plugin, including the version number. |
@larksuite/openclaw-feishu@2026.4.7 |
| ChannelConfig |
object |
No |
The channel configuration object. |
{ "enabled": true, "dmPolicy": "open", "allowFrom": [ "*", "ou_abc" ] } |
| Restart |
boolean |
No |
Specifies whether to restart the gateway after the upgrade. The default value is |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF |
| 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 upgraded channel. |
feishu |
| PluginUpgraded |
boolean |
Indicates whether the plugin was upgraded. |
true |
| PluginId |
string |
The ID of the upgraded plugin. |
openclaw-lark |
| NpmPackage |
string |
The name of the upgraded npm package. |
@larksuite/openclaw-lark@2026.4.7 |
| 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",
"PluginUpgraded": true,
"PluginId": "openclaw-lark",
"NpmPackage": "@larksuite/openclaw-lark@2026.4.7",
"Restarted": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.