---
title: "Logout user"
method: POST
path: "/api/users/logout"
tags: ["Users"]
---

# Logout user

`POST /api/users/logout`

## Request

- Base URL: `https://api.hiyd.ai`
- URL: `https://api.hiyd.ai/api/users/logout`
- Auth: HTTP bearer

## Request body

- object
  - `fcm_token` string: The FCM token this device holds. When given, only that token is cleared.

## Response `200`

Logout successful

---

[API](https://skmtc.dev/hiyd/apis/hiyd-backend-api.md) - [All operations](https://skmtc.dev/hiyd/apis/hiyd-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hiyd/apis/hiyd-backend-api/revisions/23598d347e1b?raw)
