---
title: "Revoke a token"
method: POST
path: "/v1/oauth/revoke"
tags: ["Authentication"]
---

# Revoke a token

`POST /v1/oauth/revoke`

## Request

- Base URL: `https://api.kajabi.com`
- URL: `https://api.kajabi.com/v1/oauth/revoke`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/kajabi/apis/kajabi-api-v1/docs/v1/oauth/revoke/post.ts> (a function with typed inputs; its response is checked against the schema)

## Revoke an `access_token` and `refresh_token`
Either token may be provided to "log out" of the API session. Both tokens we be invalidated.

* Only include param: `token` with your `access_token` or `refresh_token`
* Requires an `Authorization` header as `Bearer access_token` to authenticate the request.

## Response
* A successful response will have an empty body
* An error response will include a JSON body with error details.

## Request body `application/x-www-form-urlencoded`

- object
  - `token` string, required

## Response `200`

Token revocation succeeded

## Other responses

- `401`: Unauthorized

---

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