apistockdocs
v0.4 GitHub apistock.dev
API reference/Auth

Unlink a Google or Apple account

DELETE /v1/auth/identities/{id}
Send the password unless this session verified a second factor in the last 10 minutes. Not allowed for the account's last way to sign in.

Authorization

bearer
Authorizationheader · stringrequired

Session token from POST /v1/auth/login with "transport": "bearer". Browsers use the session cookie that login sets instead.

Path

idstringrequired
maxLength: 64

Body

application/json
passwordstring

Required unless this session verified a second factor in the last 10 minutes; accounts without a password sign in again instead

maxLength: 512

Responses

errors: application/problem+json
204

No Content

401

Unauthorized

404

Not Found

409

Conflict

422

Unprocessable Entity

500

Internal Server Error

Match errors on the problem's code, which stays the same, not on its message.

esc
↑↓ move↵ openesc close