All Products
Search
Document Center

PolarDB:UpgradePolarClawPlugin

Last Updated:Sep 24, 2026

Upgrades a plug-in in a PolarClaw application.

Operation description

Upgrades a plug-in that is installed in a PolarClaw application.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

ApplicationId

string

Yes

The PolarClaw application ID.

pa-********************

PluginId

string

Yes

The ID of the plug-in to upgrade.

openclaw-lark

NpmPackage

string

Yes

The new npm package name, including the version number.

@larksuite/openclaw-lark@2026.4.7

Restart

boolean

No

Specifies whether to restart the gateway after the upgrade. Default value: true.

true

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

7E2FE3BB-C677-5FF9-9FC5-9CF364BD6BE5

Message

string

The response message.

successful

Code

integer

The HTTP status code.

200

ApplicationId

string

The application ID.

pa-**************

Ok

boolean

Indicates whether the operation was successful.

true

PluginId

string

The ID of the upgraded plug-in.

openclaw-lark

NpmPackage

string

The name of the newly installed npm package.

@larksuite/openclaw-lark@2026.4.7

Restarted

boolean

Indicates whether the gateway was restarted.

true

Examples

Success response

JSON format

{
  "RequestId": "7E2FE3BB-C677-5FF9-9FC5-9CF364BD6BE5",
  "Message": "successful",
  "Code": 200,
  "ApplicationId": "pa-**************",
  "Ok": 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.