Skip to content

Unlink an OAuth identity

Cannot unlink the last remaining usable login method (atomic conditional delete → 422).

identityId
required
string

Unlinked

Media typeapplication/json
object
ok
boolean

Not logged in

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Identity not found / not owned

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Would remove the last login method

Media typeapplication/json
object
error
string
reason
string
Allowed value: last_login_method
Example
json
{
"reason": "last_login_method"
}