PearPear

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.

PATCH
/auth/link/x/visibility
AuthorizationBearer <token>

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}