---
title: "Logout / invalidate refresh token"
method: POST
path: "/auth/v1/logout"
tags: ["Auth"]
---

# Logout / invalidate refresh token

`POST /auth/v1/logout`

## Request

- Base URL: `https://api.run402.com`
- URL: `https://api.run402.com/auth/v1/logout`
- Auth: API key in header `apikey` and HTTP bearer

Invalidates the refresh_token. Requires BOTH the project apikey header AND the user access_token as Authorization: Bearer.

## Request body

- object
  - `refresh_token` string

## Response `200`

Logged out

- object
  - `status` string

---

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