---
title: "Rename Session"
method: POST
path: "/sessions/rename"
---

# Rename Session

`POST /sessions/rename`

## Request

- Base URL: `https://api.traversal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.traversal.com/sessions/rename`
- Auth: none declared

## Request body

- RenameSessionRequest
  - `session_id` string, required
  - `user_id` string, nullable
  - `user_uuid` string, nullable
  - `new_session_name` string, required

## Response `200`

Successful Response

- RenameSessionResponse: Response for rename_session endpoint.
  - `success` boolean, required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

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