---
title: "Unlink OIDC from password account"
method: POST
path: "/users/unlink-oidc-from-password"
tags: ["Users"]
---

# Unlink OIDC from password account

`POST /users/unlink-oidc-from-password`

Removes OIDC authentication from a dual-auth account (admin only).

## Request body

- object
  - `userId` string

## Response `200`

OIDC unlinked successfully.

## Other responses

- `400` — Invalid request or user doesn't have OIDC.
- `403` — Admin privileges required.
- `404` — User not found.
- `500` — Failed to unlink OIDC.

---

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