Show or hide the X account on the leaderboard
Withholding stops the handle, name and avatar being published to other users while keeping the account linked, so signing in through X still works. Takes the wanted state, not a flip, so a retry lands on the same result. Does not require a linked X account: the setting belongs to the user and outlives the link, so it can be set beforehand and survives a disconnect and reconnect.
Authorization
bearer In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Leaderboard visibility of the X account
Response Body
application/json
curl -X PATCH "https://example.com/auth/link/x/visibility" \ -H "Content-Type: application/json" \ -d '{ "xHidden": true }'{ "xHidden": true}Finish linking an X account GET
Redirect target for X. Always redirects to the frontend with a status, never renders an error. Takes no credential: the `state` parameter is what identifies the account, and it is unguessable, single-use and minted only by an authenticated start.
Disconnect the linked X account DELETE
Removes the link and stops the handle being shown to other users