Revoke an OAuth access or refresh token
One step with GitLab. We can help you get access.
Get something done
Revoke an OAuth access or refresh token
with GitLab
Works with AI assistants
Use GitLab: its GitLab OAuth 2.0 Tokens API lets you revoke an OAuth access or refresh token in a single step (POST /oauth/revoke). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I invalidate an OAuth token when a user logs out?
- Can I revoke a refresh token so it can't mint new access tokens?
Say it to your AI assistant
- Revoke token {token} for client {client_id} with secret {client_secret}.
- Kill OAuth token {token} issued to app {client_id} using secret {client_secret}.
For your developer
POST /oauth/revoke in GitLab OAuth 2.0 Tokens API. Full spec on APIs.io.