Skip to content

Unlink an OpenID Connect identity

DELETE
/api/v1/auth/oidc/{provider}/link
curl --request DELETE \
--url https://example.com/api/v1/auth/oidc/example/link \
--header 'Authorization: Bearer <token>'

Removes the link to an OpenID Connect identity. It requires a signed-in User with the account scope. It can return 401 if the session is missing or expired, 403 if access is denied and 429 if the request limit is reached. Route: /api/v1/auth/oidc/{provider}/link. Inputs: provider. A recent account assertion is required. Do not automatically replay this operation after an uncertain result.

provider
required
string

Configured OIDC provider name, as listed by GET /auth/options

Media typeapplication/json
object
code
required
string
message
required
string
Examplegenerated
{
"code": "example",
"message": "example"
}