---
title: "SessionWriteEndpoint"
method: PUT
path: "/api/v3/auth/sessions/{session_id}"
tags: ["Authentication"]
---

# SessionWriteEndpoint

`PUT /api/v3/auth/sessions/{session_id}`

## Path parameters

- `session_id` string, required

## Request body

- SessionWriteRequest
  - `payload` string, required
  - `user_id` integer, nullable

## Response `200`

Request fulfilled, document follows

- SessionWriteResponse
  - `success` boolean, required

## Other responses

- `400` — Bad request syntax or unsupported method

---

[API](https://skmtc.net/genji/apis/genji-shimada-api.md) · [All operations](https://skmtc.net/genji/apis/genji-shimada-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/genji/genji-shimada-api/versions/6db12055b305/schema)
