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

# POST /update-session

`POST /update-session`

Update the current session

## Request body

- object

## Response `200`

Success

- object
  - `session` Session
    - `id` string
    - `expiresAt` string, date-time, required
    - `token` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `ipAddress` string
    - `userAgent` string
    - `userId` string, required
    - `activeOrganizationId` string
    - `activeTeamId` string

## Other responses

- `400` — Bad Request. Usually due to missing parameters, or invalid parameters.
- `401` — Unauthorized. Due to missing or invalid authentication.
- `403` — Forbidden. You do not have permission to access this resource or to perform this action.
- `404` — Not Found. The requested resource was not found.
- `429` — Too Many Requests. You have exceeded the rate limit. Try again later.
- `500` — Internal Server Error. This is a problem with the server that you cannot fix.

## Changes

- **2026-03-04** `298877d6a79a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/update-session/post.md)

---

[API](https://skmtc.dev/usekaneo/apis/kaneo-api.md) · [All operations](https://skmtc.dev/usekaneo/apis/kaneo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usekaneo/kaneo-api/revisions/298877d6a79a/schema)
