Identity

Unlink a login credential

Removes a credential from the current identity. Fails with `400` when it is the identity's last credential — every identity must keep at least one way to log in.

DELETE
/identity/credentials/{id}

Removes a credential from the current identity. Fails with 400 when it is the identity's last credential — every identity must keep at least one way to log in.

Authorization

cookieAuth
pid_access<token>

JWT access token set by /auth/google/callback or /auth/refresh

In: cookie

Path Parameters

id*string

The credential id

Formatuuid

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/identity/credentials/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty