---
title: "Remove the OIDC link for the authenticated user. This action will also remove the authentication cookie. The caller should take note and redirect to login if no other authentication is currently present (I.e. JWT)"
method: POST
path: "/api/Account/clear-oidc-link"
tags: ["Account"]
---

# Remove the OIDC link for the authenticated user. This action will also remove the authentication cookie. The caller should take note and redirect to login if no other authentication is currently present (I.e. JWT)

`POST /api/Account/clear-oidc-link`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Account/clear-oidc-link`
- Auth: API key in header `x-api-key`

## Response `200`

OK

## Changes

- **2026-03-19** `1acacd51149a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kareadita/apis/kavita/changes/api/Account/clear-oidc-link/post.md)

---

[API](https://skmtc.dev/kareadita/apis/kavita.md) - [All operations](https://skmtc.dev/kareadita/apis/kavita/llms.txt) - [OpenAPI document](https://skmtc.dev/kareadita/apis/kavita/revisions/d266465eeb67?raw)
