---
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

---

[API](https://skmtc.net/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.net/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sea-lion/litellm-api/revisions/79928a3d37d3/schema)
