---
title: "POST /update-session"
method: POST
path: "/update-session"
tags: ["Session API"]
---

# POST /update-session

`POST /update-session`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/update-session`
- Auth: none declared

update session

## Query parameters

- `id` string, required

## Request body

- ObjectSession
  - `asset` string
  - `clientIp` string
  - `clientIpDesc` string
  - `code` integer
  - `commandCount` integer
  - `createdTime` string
  - `creator` string
  - `endTime` string
  - `height` integer
  - `message` string
  - `mode` string
  - `name` string
  - `operations` string[]
  - `owner` string
  - `protocol` string
  - `recordings` string[]
  - `reviewed` boolean
  - `startTime` string
  - `status` string
  - `userAgent` string
  - `userAgentDesc` string
  - `width` integer

## Response `200`

OK

- Response

---

[API](https://skmtc.dev/casvisor/apis/casvisor-api.md) - [All operations](https://skmtc.dev/casvisor/apis/casvisor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/casvisor/apis/casvisor-api/revisions/9c4dc1ebadbe?raw)
