---
title: "Disconnect the caller's warehouse identity (revoke their grant)."
method: DELETE
path: "/v1/connections/{id}/oauth/grant"
tags: ["connections"]
---

# Disconnect the caller's warehouse identity (revoke their grant).

`DELETE /v1/connections/{id}/oauth/grant`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/v1/connections/{id}/oauth/grant`
- Auth: one of:
  - API key in cookie `dvt_session`
  - HTTP bearer

Revokes the acting user's per-user OAuth grant on this connection (DVT-123) — a
self-service "disconnect". A subsequent consent re-creates it. Revocation (not
deletion) keeps the event auditable. Any member (revokes only the caller's own grant).

## Response `204`

Grant revoked (no body).

## Other responses

- `401`: Missing, invalid, or expired session.
- `404`: The caller has no active grant on this connection.

---

[API](https://skmtc.dev/dvt/apis/dvt-rest-api.md) · [All operations](https://skmtc.dev/dvt/apis/dvt-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dvt/apis/dvt-rest-api/revisions/00016f504165?raw)
