---
title: "Sign out and revoke the current refresh token"
method: POST
path: "/api/auth/logout"
tags: ["Auth"]
---

# Sign out and revoke the current refresh token

`POST /api/auth/logout`

## Request

- Base URL: `https://hiveship.app/api`
- URL: `https://hiveship.app/api/api/auth/logout`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `hiveship_access`
  - HTTP bearer

## Response `200`

Cookies cleared; refresh token revoked

---

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