---
title: "Delete Mcp Oauth User Credential"
method: DELETE
path: "/v1/mcp/server/{server_id}/oauth-user-credential"
tags: ["mcp"]
---

# Delete Mcp Oauth User Credential

`DELETE /v1/mcp/server/{server_id}/oauth-user-credential`

Revoke the calling user's stored OAuth2 token for an MCP server

## Path parameters

- `server_id` string, required

## Response `200`

Successful Response

- MCPOAuthUserCredentialStatus — Describes whether the calling user has a stored OAuth credential.
  - `server_id` string, required
  - `has_credential` boolean, required
  - `expires_at` string, nullable
  - `is_expired` boolean
  - `connected_at` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-30** `24ad9eaf6a00` — 1 info
  - endpoint added
- **2026-08-27** `4a06c3148b6c` — 1 breaking
  - api path removed without deprecation
- **2026-08-14** `9c80d9af446a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/v1/mcp/server/:server_id/oauth-user-credential/delete.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flock/litellm-api/revisions/79b9ccc6f1dd/schema)
