---
title: "Set Primary Minecraft Account"
method: PATCH
path: "/discord/user/{snowflake}/primary/{player}"
tags: ["Discord", "User Linking"]
---

# Set Primary Minecraft Account

`PATCH /discord/user/{snowflake}/primary/{player}`

Sets a specific Minecraft UUID as the primary linked account for a given Discord user.

## Path parameters

- `snowflake` string, required
- `player` string, required

## Response `200`

Successfully set primary account (returns Discord Snowflake)

- string

## Other responses

- `400` — Bad request, e.g., invalid Minecraft UUID or account not linked to Discord
- `401` — Unauthorized, not enough permissions
- `500` — Internal server error

---

[API](https://skmtc.dev/seraph/apis/seraph-api.md) · [All operations](https://skmtc.dev/seraph/apis/seraph-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/seraph/seraph-api/revisions/82a1ec01c64d/schema)
