---
title: "Logout API user"
method: POST
path: "/api/logout"
tags: ["access_key"]
---

# Logout API user

`POST /api/logout`

Logout the authenticated API user by invalidating their session token

## Response `200`

message

- object

## Other responses

- `400` — Bad Request

## Changes

- **2025-12-09** `dcfba7d5f4f9` — 1 info
  - endpoint added
- **2025-07-07** `24d4b1cd7621` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ivpn/apis/untitled-api/changes/api/logout/post.md)

---

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