---
title: "DeleteConnectorOAuthToken removes a user's OAuth authorization for a connector in the calling deployment's project. It can only be called by deployments."
method: POST
path: "/v1/deployments/-/connector-oauth-token/delete"
---

# DeleteConnectorOAuthToken removes a user's OAuth authorization for a connector in the calling deployment's project. It can only be called by deployments.

`POST /v1/deployments/-/connector-oauth-token/delete`

## Request

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

## Request body

- V1DeleteConnectorOAuthTokenRequest
  - `configHash` string
  - `connector` string
  - `userId` string

## Response `200`

A successful response.

- V1DeleteConnectorOAuthTokenResponse

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-10-21** (v1) `1b13259a2d7f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rilldata/apis/rill-admin-api/changes/v1/deployments/-/connector-oauth-token/delete/post.md)

---

[API](https://skmtc.dev/rilldata/apis/rill-admin-api.md) - [All operations](https://skmtc.dev/rilldata/apis/rill-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rilldata/apis/rill-admin-api/revisions/5dfad67cc1ca?raw)
