EnablePolarClawChannel

Updated at:
Copy as MD

Enables a PolarClaw channel.

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 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.

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.