---
title: "Log out a user"
method: PUT
path: "/v2/authorize/logout"
tags: ["Authorize"]
---

# Log out a user

`PUT /v2/authorize/logout`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/authorize/logout`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/authorize/logout/put.ts> (a function with typed inputs; its response is checked against the schema)

Log out user for the given token in the header

## Response `200`

Logout completed successfully

## Other responses

- `400`: Invalid request
- `401`: Unauthorized
- `404`: Not found

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
