---
title: "Unlink Identity"
method: POST
path: "/v1/users/me/identities/{identity_id}/unlink"
tags: ["Users"]
---

# Unlink Identity

`POST /v1/users/me/identities/{identity_id}/unlink`

## Request

- Base URL: `https://api.fettle.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fettle.sh/v1/users/me/identities/{identity_id}/unlink`
- Auth: API key in header `Authorization`

Disconnect a Google or GitHub account. Send your current password when the
account has one. The only remaining sign-in method cannot be disconnected —
set a password first.

## Path parameters

- `identity_id` string, uuid, required

## Request body

- UnlinkIdentityRequest
  - `password` string, nullable

## Response `200`

Successful Response

- SuccessResponse
  - `success` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fettle/apis/fettle-sh.md) · [All operations](https://skmtc.dev/fettle/apis/fettle-sh/llms.txt) · [OpenAPI document](https://skmtc.dev/fettle/apis/fettle-sh/revisions/f32c8a18606f?raw)
