---
title: "POST /api/v1/model-providers/{providerId}/oauth/disconnect"
method: POST
path: "/api/v1/model-providers/{providerId}/oauth/disconnect"
tags: ["Model Providers"]
---

# POST /api/v1/model-providers/{providerId}/oauth/disconnect

`POST /api/v1/model-providers/{providerId}/oauth/disconnect`

## Path parameters

- `providerId` string, required

## Response `200`

OAuth provider disconnected

- object
  - `ok` boolean, required

## Changes

- **2026-04-08** `2a8f291b1fce` — 1 info
  - endpoint added
- **2026-03-19** `239b3cc94d80` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nexu-io/apis/nexu-controller-api/changes/api/v1/model-providers/:providerId/oauth/disconnect/post.md)

---

[API](https://skmtc.dev/nexu-io/apis/nexu-controller-api.md) · [All operations](https://skmtc.dev/nexu-io/apis/nexu-controller-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nexu-io/apis/nexu-controller-api/revisions/ee3237405da6?raw)
