Updates the PolarClaw skill configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:UpdatePolarClawSkill |
update |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
The application ID. |
pa-xxx |
| SkillKey |
string |
Yes |
The skill identifier key. |
alibacloud-rds-copilot |
| Enabled |
boolean |
No |
Specifies whether the skill is enabled. |
true |
| ApiKey |
string |
No |
The skill API key. An empty string indicates that the key is deleted. |
my-api |
| Env |
object |
No |
The environment variables. This is a map of key-value pairs. An empty value indicates that the variable is deleted. |
{"NETA_TOKEN":"my-token"} |
|
string |
No |
The environment variables. This is a map of key-value pairs. An empty value indicates that the variable is deleted. |
{"NETA_TOKEN":"my-token"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| ApplicationId |
string |
The application ID. |
pa-xxx |
| Code |
integer |
The status code. |
200 |
| Config |
object |
The updated skill configuration. Sensitive values are masked. |
|
| Enabled |
boolean |
Specifies whether the skill is enabled. |
true |
| Env |
object |
The environment variable configuration. |
|
|
string |
The environment variable configuration. |
{"TOKEN":"my-token"} |
|
| Message |
string |
The message. |
success |
| Ok |
boolean |
Indicates whether the operation is successful. |
true |
| RequestId |
string |
Id of the request |
F45FFACC-xxx |
| SkillKey |
string |
The skill identifier key. |
alibacloud-rds-copilot |
Examples
Success response
JSON format
{
"ApplicationId": "pa-xxx",
"Code": 200,
"Config": {
"Enabled": true,
"Env": {
"key": "{\"TOKEN\":\"my-token\"}"
}
},
"Message": "success",
"Ok": true,
"RequestId": "F45FFACC-xxx",
"SkillKey": "alibacloud-rds-copilot"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.