---
title: "Revoke the current session and clear the cookies"
method: POST
path: "/v1/auth/logout"
tags: ["auth"]
---

# Revoke the current session and clear the cookies

`POST /v1/auth/logout`

## Request

- Base URL: `https://api.portproof.org`
- URL: `https://api.portproof.org/v1/auth/logout`
- Auth: API key in cookie `pp_session`

## Response `200`

Default Response

- object
  - `ok` true, required

---

[API](https://skmtc.dev/portproof/apis/portproof-api.md) · [All operations](https://skmtc.dev/portproof/apis/portproof-api/llms.txt) · [OpenAPI document](https://skmtc.dev/portproof/apis/portproof-api/revisions/4143916c0fac?raw)
