---
title: "Edit Session"
method: PATCH
path: "/auth/session/{id}"
tags: ["Session"]
---

# Edit Session

`PATCH /auth/session/{id}`

Edit current session information.

## Path parameters

- `id` string, required

## Request body

- DataEditSession
  - `friendly_name` string, required — Session friendly name

## Response `200`

- SessionInfo
  - `_id` string, required
  - `name` string, required

## Other responses

- `default` — An error occurred.

## Changes

- **2026-08-25** `66efa81c8e1f` — 1 breaking
  - added `subschema #2` to the response body `oneOf` list for the response status `default`
- **2026-07-26** `7a23c8b93766` — 1 breaking
  - added `subschema #65, subschema #66, subschema #67, subschema #81, subschema #82, subschema #83, subschema #84, subschema #85, subschema #86, subschema #87, subschema #88, subschema #89, subschema #90, subschema #91, subschema #92, subschema #93, subschema #94, subschema #95` to the response body `oneOf` list for the response status `default`

[Change history](https://skmtc.dev/revolt/apis/revolt-api/changes/auth/session/:id/patch.md)

---

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