---
title: "Sign out a user"
method: POST
path: "/v1/user/signOut/"
tags: ["/v1/end-user-jwt"]
---

# Sign out a user

`POST /v1/user/signOut/`

## Request

- Base URL: `https://api.counselhealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.counselhealth.com/v1/user/signOut/`
- Auth: HTTP bearer

We do not have a way of invalidating a single session for now. This API is used to sign out a user across all sessions.
  Please use this API when a user logs out of your application, otherwise the browser cache may still have access to the user's session.
  As a side-effect, this API will revoke all signed URLs for the user as well.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `user_id` string, uuid

## Response `200`

Default Response

- object
  - `status` 'success', required

## Other responses

- `400`: 400 error with a machine-readable `code` for client branching.
- `401`: Standard error body returned for non-2xx responses.
- `403`: Standard error body returned for non-2xx responses.
- `404`: Standard error body returned for non-2xx responses.
- `409`: Standard error body returned for non-2xx responses.
- `413`: Standard error body returned for non-2xx responses.
- `429`: Standard error body returned for non-2xx responses.
- `500`: Standard error body returned for non-2xx responses.
- `502`: Default Response
- `503`: Default Response
- `504`: Default Response

---

[API](https://skmtc.dev/counselhealth/apis/counsel-api.md) - [All operations](https://skmtc.dev/counselhealth/apis/counsel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/counselhealth/apis/counsel-api/revisions/4110a89127e8?raw)
