---
title: "updateSessionsByIdSession()"
method: PUT
path: "/sessions/{idSession}"
tags: ["session"]
---

# updateSessionsByIdSession()

`PUT /sessions/{idSession}`

## Path parameters

- `idSession` string, required

## Query parameters

- `key` string, required
- `token` string, required

## Request body

- Sessions
  - `idBoard` string — The id of the board you&#39;re viewing. Boards with no viewers will not get updates about members&#39; statuses.
  - `status` string — One of: active, disconnected or idle

## Response `200`

Success

## Other responses

- `400` — Server rejection

## Changes

- **2017-03-21** (1.0) `74afdba5e145` — 3 info
  - the endpoint scheme security `api_key` was added to the API
  - the endpoint scheme security `api_token` was added to the API
  - the endpoint scheme security `trello_auth` was removed from the API

[Change history](https://skmtc.dev/apis-guru/apis/trello/changes/sessions/:idSession/put.md)

---

[API](https://skmtc.dev/apis-guru/apis/trello.md) · [All operations](https://skmtc.dev/apis-guru/apis/trello/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apis-guru/trello/revisions/74afdba5e145/schema)
