Admin/Update Session
PUT /v1/admin/agents/{id}/cc/session

Update Session

Base URL https://api.{cluster}.{platform}.voiger.io
Request · cURL
curl -X PUT https://api.{cluster}.{platform}.voiger.io/v1/admin/agents/{id}/cc/session \
  -H "Cookie: sid=$VOIGER_SESSION" \
  -H "x-workspace-code: your-workspace-code" \
  -H "x-csrf-token: $CSRF_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
       "status": {
         "id": "a9788d2e-ca37-41e3-b440-85ae6f8cd4c6"
       },
       "comment": {
         "message": "Hello!"
       }
     }'

Parameters

id string required in path
The agent id
x-workspace-code string required in header

Response

status▾
object
id
string
name
string
color
string
icon
null | string
behaviour
string
since
string
comment▾
object
message
null | string