---
title: "Remove Oauth Grant"
method: DELETE
path: "/admin/oauth/grants/{grant_id}"
tags: ["admin_oauth"]
---

# Remove Oauth Grant

`DELETE /admin/oauth/grants/{grant_id}`

## 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/grants/{grant_id}`
- Auth: OAuth 2 (password, token URL `api/login`)

## Path parameters

- `grant_id` string, required

## Response `200`

Successful Response

- OAuthRevocationResponse
  - `revoked_tokens` integer, required

## Other responses

- `404`: Resource not found
- `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/grants/:grant_id/delete.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)
