---
title: "Update an account session"
method: PATCH
path: "/account-sessions/{accountSessionId}"
tags: ["Account Sessions"]
---

# Update an account session

`PATCH /account-sessions/{accountSessionId}`

## Request body

- UpdateAccountSessionInput
  - `id_token` string, required — The JWT token for authentication
  - `refresh_token` string, required — Refresh JWT token. By default, same as `id_token`.
  - `expires_in` number, required — Number of seconds after wich the session expires. By default, equal to 3600 seconds.

## Response `200`

- object

---

[API](https://skmtc.net/fanhero/apis/tenant-endpoints.md) · [All operations](https://skmtc.net/fanhero/apis/tenant-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fanhero/tenant-endpoints/versions/8e7584c449dc/schema)
