Skip to content
LogoLogo

Unlink an external identity

Unlink an external identity

DELETE/api/v1/me/identities/{identity_id}

Removes a linked provider identity.

Refused with 409 last_sign_in_method when removing it would leave the account with no usable way to sign in, counting a password credential, each registered passkey, and each remaining identity. An identity belonging to another user answers 404. Repeat deletion of an already-unlinked identity answers 204.

Requires authentication within the last 15 minutes.

Path Parameters

identity_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Responses