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

# Record Logout

`POST /v1/auth/logout`

Called by the Meteor app when a user logs out. Deactivates the session associated with the given hashed token.

## Request body

- object
  - `userId` string, required — Meteor user ID
  - `hashedToken` string, required — Hashed login token identifying the session to deactivate

## Response `200`

Default Response

- object
  - `success` boolean, required
  - `message` string, required

## Other responses

- `400` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/bluehive-health/apis/bluehive-api.md) · [All operations](https://skmtc.net/bluehive-health/apis/bluehive-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bluehive-health/bluehive-api/revisions/ae97a9add0ba/schema)
