---
title: "Unlink OAuth provider"
method: DELETE
path: "/auth/oauth/{provider}/unlink"
tags: ["OAuth Authentication"]
---

# Unlink OAuth provider

`DELETE /auth/oauth/{provider}/unlink`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/auth/oauth/{provider}/unlink`
- Auth: HTTP bearer

Remove OAuth provider from user's account.
Cannot unlink if it's the only authentication method.

## Path parameters

- `provider` 'google' | 'github' | 'microsoft' | 'apple', required

## Response `204`

Provider unlinked

## Other responses

- `400`: Cannot unlink last authentication method
- `401`: Not authenticated
- `404`: Provider not linked

## Changes

- **2026-09-19** `3a6f365f3f35`: 3 breaking, 6 info
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `404`
  - added the optional property `code` to the response with the `400` status
  - …5 more
- **2026-08-27** `bb44e98aba2e`: 6 breaking, 3 warning
  - the response's body type changed from `object` to no type for status `400`
  - the response's body type changed from `object` to no type for status `401`
  - the response's body type changed from `object` to no type for status `404`
  - removed the required property `error` from the response with the `400` status
  - …5 more
- **2026-07-27** `bb52784e098a`: 3 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `404` status

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/auth/oauth/:provider/unlink/delete.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
