# Nakama Social Unlink through backend without token

**URL:** <https://forum.heroiclabs.com/t/nakama-social-unlink-through-backend-without-token/6371>\
**Category:** Runtime Framework\
**Tags:** server-framework\
**Created:** [August 8, 2025, 7:26am UTC](https://forum.heroiclabs.com/t/nakama-social-unlink-through-backend-without-token/6371 "2025-08-08T07:26:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahansh](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@mahansh](https://forum.heroiclabs.com/u/mahansh)\
**Post date:** [August 8, 2025, 7:26am UTC](https://forum.heroiclabs.com/t/nakama-social-unlink-through-backend-without-token/6371/1 "2025-08-08T07:26:48Z")

</div>

So I’m trying to run `UnlinkApple` and `UnlinkGoogle` from my backend, but both require an OAuth token.  
In my case, I’m running a script to clean up accounts — the user is not online, so I don’t have a fresh token and I don’t want to store it anywhere.

When I unlink through the Nakama Console, it works without a token (console calls `/v2/console/account/{user_id}/unlink/google` etc.).

Why can the console do this without a token, and is there a supported way for me to bypass the token requirement from backend code like the console does?

---

<div class="post-metadata">

**Author:** ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)\
**Post date:** [August 8, 2025, 10:47am UTC](https://forum.heroiclabs.com/t/nakama-social-unlink-through-backend-without-token/6371/2 "2025-08-08T10:47:54Z")

</div>

@mahansh if you set the token to empty string the Unlink\* should force unlink.

Hope this helps.
