---
title: "Revoke tokens"
method: DELETE
path: "/oauth2/tokens"
tags: ["OAuth API"]
---

# Revoke tokens

`DELETE /oauth2/tokens`

## Request

- Base URL: `https://api.mollie.com`
- URL: `https://api.mollie.com/oauth2/tokens`
- Auth: HTTP basic

Revoke an access token or refresh token. Once revoked, the token can no longer be used.

Revoking a refresh token revokes all access tokens that were created using the same authorization.

This endpoint can only be accessed using **OAuth client credentials**.

> 🔑 Access with
>
> [Basic authentication](/reference/authentication)

## Headers

- `Authorization` string, required
- `Content-Type` string

## Request body

- object
  - `token_type_hint` string, required: The type of token you want to revoke. Possible values: `access_token` `refresh_token`
  - `token` string, required: The token you want to revoke.

## Response `204`

An empty response.

- unknown

## Other responses

- `429`: Rate Limit has been reached.

---

[API](https://skmtc.dev/mollie/apis/mollie-connect.md) - [All operations](https://skmtc.dev/mollie/apis/mollie-connect/llms.txt) - [OpenAPI document](https://skmtc.dev/mollie/apis/mollie-connect/revisions/65271e79a786?raw)
