---
title: "Sign out"
method: POST
path: "/signout"
tags: ["session"]
---

# Sign out

`POST /signout`

End the current user session by invalidating refresh tokens. Optionally sign out from all devices.

## Request body

- SignOutRequest
  - `refreshToken` string — Refresh token for the current session
  - `all` boolean — Sign out from all connected devices

## Response `200`

Successfully signed out

- 'OK'

## Other responses

- `default` — An error occurred while processing the request

---

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