---
title: "GET /users/logout"
method: GET
path: "/users/logout"
tags: ["users"]
---

# GET /users/logout

`GET /users/logout`

## Request

- Base URL: `https://api.outdoorsy.com/v0`
- URL: `https://api.outdoorsy.com/v0/users/logout`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `API-Key`
- TypeScript: <https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation/docs/users/logout/get.ts> (a function with typed inputs; its response is checked against the schema)

Log user out by invalidating authorization token

## Response `204`

Everything went as planned

## Other responses

- `401`: Unauthorized error

---

[API](https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation.md) - [All operations](https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation/revisions/f0cf8f605ea0?raw)
