Updates a thread.
Operation description
Updates a thread.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
starops:UpdateThread |
update |
*DigitalEmployee
|
None | None |
Request syntax
PUT /digitalEmployee/{name}/thread/{threadId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| name |
string |
Yes |
The name of the Digital Employee. |
test |
| threadId |
string |
Yes |
The ID of the thread. |
thread-12313 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| title |
string |
No |
The title of the thread. |
title |
| status |
string |
No |
The status of the thread. |
active |
| attributes |
object |
No |
The attributes of the thread. |
|
|
string |
No |
The value of an attribute. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| requestId |
string |
The request ID. |
264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC |
| threadId |
string |
The ID of the thread. |
thread-12313 |
| version |
integer |
The version number. |
123123 |
Examples
Success response
JSON format
{
"requestId": "264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC",
"threadId": "thread-12313\n",
"version": 123123
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.