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

# 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.
  - `connected_at` string, nullable
  - `expires_at` string, nullable
  - `has_credential` boolean, required
  - `is_expired` boolean
  - `server_id` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-19** `c357baf422ab` — 2 info
  - api tag `mcp_management` added
  - api tag `mcp` removed
- **2026-09-18** `082b5fabd909` — 1 info
  - endpoint added
- **2026-09-16** `7afc3544d64d` — 1 breaking
  - api path removed without deprecation
- **2026-09-12** `0915d6a9ba99` — 1 info
  - endpoint added
- **2026-09-11** `f9848f60f12d` — 1 breaking
  - api path removed without deprecation

[Full 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.dev/flock/apis/litellm-api/revisions/3b2b241e4b0b?raw)
