---
title: "Revoke All Oauth Grants Of User"
method: POST
path: "/admin/oauth/users/{user_id}/revoke-all"
tags: ["admin_oauth"]
---

# Revoke All Oauth Grants Of User

`POST /admin/oauth/users/{user_id}/revoke-all`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/admin/oauth/users/{user_id}/revoke-all`
- Auth: OAuth 2 (password, token URL `api/login`)

## Path parameters

- `user_id` string, required

## Response `200`

Successful Response

- OAuthRevocationResponse
  - `revoked_tokens` integer, required

## Other responses

- `422`: Validation Error

## Changes

> 55 revisions in range; 1 not diffed.

- **2026-10-14** `1160feeb2038`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/admin/oauth/users/:user_id/revoke-all/post.md)

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) - [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) - [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/379e4a57dee8?raw)
