---
title: "Logout (Invalidate JWT Token)"
method: POST
path: "/account/logout"
tags: ["Account"]
---

# Logout (Invalidate JWT Token)

`POST /account/logout`

## Request

- Base URL: `https://api.rebrandly.com/v1`
- URL: `https://api.rebrandly.com/v1/account/logout`
- Auth: API key in header `apikey`

Invalidate the current JWT access token, preventing further use.
Subsequent requests using the same token will receive a 401 response.

**Requires:** Bearer token authentication (Authorization header).

## Headers

- `Authorization` string, required

## Response `200`

Token invalidated successfully

- object

## Other responses

- `400`: Token missing required claims (jti, exp)
- `401`: Missing or invalid Authorization header
- `500`: Internal server error

---

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