Skip to main content
PATCH
/
discord
/
user
/
{snowflake}
/
primary
/
{player}
Set Primary Minecraft Account
curl --request PATCH \
  --url https://api.example.com/discord/user/{snowflake}/primary/{player}
"<string>"

Path Parameters

snowflake
string
required

Discord Snowflake ID

player
string
required

Minecraft UUID to set as primary

Response

Successfully set primary account (returns Discord Snowflake)

The response is of type string.