Updates a session.
Operation description
Updates a session.
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 session ID. |
thread-12313 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request parameters. |
|
| title |
string |
No |
The session title. |
title |
| status |
string |
No |
The session status. Valid values:
|
active |
| attributes |
object |
No |
The properties. |
|
|
string |
No |
The specific property. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC |
| threadId |
string |
The session ID. |
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.