# Changing the custom id

**URL:** <https://forum.heroiclabs.com/t/changing-the-custom-id/6186>\
**Category:** Runtime Framework\
**Tags:** server-framework\
**Created:** [May 5, 2025, 6:45am UTC](https://forum.heroiclabs.com/t/changing-the-custom-id/6186 "2025-05-05T06:45:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nixarn\_tp](https://avatars.discourse-cdn.com/v4/letter/n/4bbf92/32.png) [@nixarn\_tp](https://forum.heroiclabs.com/u/nixarn_tp)\
**Post date:** [May 5, 2025, 6:45am UTC](https://forum.heroiclabs.com/t/changing-the-custom-id/6186/1 "2025-05-05T06:45:38Z")

</div>

Is there any way of modifying the custom id. It would be useful if a player loses their account but don’t have any other auth method setup. One of our players lost his account, started a new one, but now the only path forward as I see it is to copy the data from the old one, but preferably we’d be able to change the custom id.

---

<div class="post-metadata">

**Author:** ![formatCvt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/formatcvt/32/1127_2.png) [@formatCvt](https://forum.heroiclabs.com/u/formatCvt)\
**Post date:** [May 6, 2025, 12:22pm UTC](https://forum.heroiclabs.com/t/changing-the-custom-id/6186/2 "2025-05-06T12:22:58Z")

</div>

you can use UnlinkCustom/LinkCustom

> **[Function Reference](https://heroiclabs.com/docs/nakama/server-framework/go-runtime/function-reference/#UnlinkCustom)**
>
> This page lists all functions available within Nakama's Go runtime, with their respective parameters and corresponding code samples.

> **[Function Reference](https://heroiclabs.com/docs/nakama/server-framework/go-runtime/function-reference/#LinkCustom)**
>
> This page lists all functions available within Nakama's Go runtime, with their respective parameters and corresponding code samples.
