Updates a skill for a digital employee.
Operation description
This operation updates a skill for a specified digital employee.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
starops:UpdateDigitalEmployeeSkill |
update |
*DigitalEmployeeSkill
|
None | None |
Request syntax
PUT /digitalEmployee/{name}/skill/{skillName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| name |
string |
Yes |
The name of the digital employee. |
test |
| skillName |
string |
Yes |
The name of the skill. |
test |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| displayName |
string |
No |
The display name of the skill. |
test |
| description |
string |
No |
The description of the skill. |
test |
| enable |
boolean |
Yes |
Specifies whether the skill is enabled. |
true |
| files |
array<object> |
Yes |
An array of skill files. |
|
|
object |
No |
A skill file object. |
||
| name |
string |
No |
The name of the skill file. |
SKILL.md |
| content |
string |
No |
The content of the skill file. |
--- name: skill description: description --- # skill skill test |
| remark |
string |
No |
Notes or comments about the skill. |
remark |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned for a successful request. |
||
| requestId |
string |
The request ID. |
350779DC-980D-58FD-BECB-D2275D2487CA |
Examples
Success response
JSON format
{
"requestId": "350779DC-980D-58FD-BECB-D2275D2487CA\n"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.