---
title: "Rotate pre-auth session ID"
method: PUT
path: "/rotatepasession"
tags: ["subscription"]
---

# Rotate pre-auth session ID

`PUT /rotatepasession`

## Request

- The document declares no server URL.
- Auth: none declared

Rotate pre-auth session ID

## Request body

- ApiRotatePASessionReq
  - `sessionid` string, required

## Response `200`

OK

- ApiSuccessRes
  - `message` string

## Other responses

- `400`: Bad Request

## Changes

- **2026-05-26** `0e7bcc538dce`: 1 info
  - endpoint added
- **2026-05-26** `40af593ffad2`: 1 breaking
  - api path removed without deprecation
- **2026-05-07** `40c4ac8c88f2`: 1 info
  - endpoint added
- **2025-11-25** `99c2de1d1467`: 1 breaking
  - api path removed without deprecation
- **2025-10-20** `fe3804468a98`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ivpn/apis/ivpn-mailx-api/changes/rotatepasession/put.md)

---

[API](https://skmtc.dev/ivpn/apis/ivpn-mailx-api.md) - [All operations](https://skmtc.dev/ivpn/apis/ivpn-mailx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ivpn/apis/ivpn-mailx-api/revisions/6eb6a9df43a3?raw)
