auth
Delete a SocialAccount (OAuth provider link) owned by the requesting user.
The lookup filters on both id and user simultaneously so a user can never delete an account that does not belong to them. A non-matching id returns 404 regardless of whether it exists at all — this prevents callers from inferring account existence via status code differences.
Path parameter: account_id (int): PK of the SocialAccount to delete.
Authentication: JWT (Bearer or cookie) — requires IsAuthenticated.
Returns: 204 — Account unlinked; no response body. 401/403 — If the caller is not authenticated. 404 — If account_id does not exist or belongs to a different user.
delete/api/v1/auth/linked-accounts/social/{account_id}/
Request
- Base URL: https://api.leviathannews.xyz (the document declares no server; this is the origin it was published from)
- URL: https://api.leviathannews.xyz/api/v1/auth/linked-accounts/social/{account_id}/
- Auth: one of:
- HTTP bearer
- API key in cookie sessionid
Path parameters
account_idinteger required
Response
No response body
Changes
No recorded changes to this operation across all 1 revision of this API.