Palbase Auth API · API
DELETE
/auth/identities/{id}Unlink a social identity
Unlink a social identity from the authenticated user. Refuses to unlink the last remaining authentication method.
Called by a signed-in user of your app, with their token and the publishable key.
Path
idstring · requiredIdentity ID (`sid_…`)curl
curl -X DELETE "https://<your-ref>.palbase.studio/auth/identities/<id>" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "authorization: Bearer $USER_ACCESS_TOKEN"Responses
200Identity unlinked
400Validation failed or required field missing
401Missing, invalid, or expired credentials
404Resource does not exist or is not visible to the caller
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation UnlinkIdentity of auth's contract.