# Revoke a Mollie OAuth token with oauth_client.revoke_oauth_token

To revoke a Mollie OAuth token from the Python client, use the OAuth client method the maintainers added for this: oauth_client.revoke_oauth_token(client_id, token, type_hint). See the Mollie revoke-tokens API reference for what type_hint expects. This was added in response to the feature request, so if your installed client version predates it, upgrade first and check that the method exists on your oauth client before wiring it into your token lifecycle. It revokes server-side through the standard OAuth revocation endpoint, so the token is invalidated for all future calls.

## Context from the issue
gh:mollie/mollie-api-python#380: Issue mollie/mollie-api-python#380 (closed, 7 comments): A user asked why the Python client had no support for revoking OAuth tokens, pointing at the revoke-tokens API docs. The maintainer confirmed there was no blocker and implemented it: you can revoke a token through the OAuth client with oauth_client.revoke_oauth_token(client_id, token, type_hint). The reporter thanked them for the quick turnaround.