UpdateDigitalEmployee
Updates a digital employee.
Operation description
This operation updates the properties of a specified digital employee.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
starops:UpdateDigitalEmployee |
update |
*DigitalEmployee
|
None | None |
Request syntax
PATCH /digital-employee/{name} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| name |
string |
Yes |
The name of the digital employee. |
test |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| defaultRule |
string |
No |
The default rule for the digital employee. |
test |
| description |
string |
No |
The description of the digital employee. |
test |
| displayName |
string |
No |
The display name of the digital employee. |
test |
| roleArn |
string |
No |
The RAM role ARN. |
acs:ram::12345678912:role/testrole |
| knowledges |
object |
No |
A list of knowledge bases. |
|
| bailian |
array<object> |
No |
A list of Model Studio knowledge bases. |
|
|
object |
No |
The details of a Model Studio knowledge base. |
||
| workspaceId |
string |
No |
The ID of the Model Studio workspace. |
llm-xxxx |
| indexId |
string |
No |
The ID of the Model Studio index. |
index-xxxx |
| region |
string |
No |
The region of the knowledge base. |
cn-beijing |
| attributes |
string |
No |
The attributes of the Model Studio knowledge base. |
test |
| sop |
array<object> |
No |
A list of SOP knowledge bases. |
|
|
object |
No |
An SOP knowledge base. |
{ "type": "oss", "basePath": "docs/", "region": "cn-hangzhou", "endpoint": "oss-cn-hangzhou.aliyuncs.com", "bucket": "my-sop-bucket", "description": "sls sop" } |
|
| attributes |
object |
No |
Additional attributes of the digital employee. |
|
|
string |
No |
The value of the attribute. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| requestId |
string |
The request ID. |
0CEC5375-C554-562B-A65F-*** |
Examples
Success response
JSON format
{
"requestId": "0CEC5375-C554-562B-A65F-***\n"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.