---
title: "Disconnect an app"
method: DELETE
path: "/v0/users/{user}/oauth/grants/{grant}"
tags: ["users", "oauth"]
---

# Disconnect an app

`DELETE /v0/users/{user}/oauth/grants/{grant}`

## Request

- The document declares no server URL.
- Auth: none declared

Revoke the OAuth grant of an app connected to a user's account: its tokens stop working at once, and it must ask for consent again. Only the user themselves and server admins have access, with a JWT (user session token).

## Path parameters

- `grant` string, uuid, required
- `user` string, required

## Response `204`

successful deletion

## Other responses

- `4XX`: Error
- `5XX`: Error

## Changes

- **2026-10-19** `7f2d03f87994`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bencherdev/apis/bencher-api/changes/v0/users/:user/oauth/grants/:grant/delete.md)

---

[API](https://skmtc.dev/bencherdev/apis/bencher-api.md) - [All operations](https://skmtc.dev/bencherdev/apis/bencher-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bencherdev/apis/bencher-api/revisions/538b39b8d755?raw)
