Skip to content

Conversation

spenhand
Copy link
Contributor

@spenhand spenhand commented Oct 6, 2025

Added a dedicated method for the bot token flow to make unmerging possible even if you've lost the discord auth token. updating the docs to describe it.

@spenhand spenhand force-pushed the spenhand/bot-unmerge-docs branch from fecccad to 8858ef2 Compare October 6, 2025 19:56
Document the new /provisional-accounts/unmerge/bot endpoint that allows unmerging provisional accounts using just the bot token and external_user_id, without requiring an external auth token. This ensures identities can always be removed even if the external auth token is no longer accessible.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@spenhand spenhand force-pushed the spenhand/bot-unmerge-docs branch from 8858ef2 to da70cb5 Compare October 6, 2025 19:57
@spenhand spenhand marked this pull request as ready for review October 6, 2025 20:28
@spenhand spenhand requested a review from a team as a code owner October 6, 2025 20:28
@spenhand spenhand requested review from anthonydiscord and removed request for a team October 6, 2025 20:28
@markmandel markmandel self-requested a review October 6, 2025 20:40

#### Unmerging with Bot Token Endpoint

If you're using the [Bot Token Endpoint](/docs/discord-social-sdk/development-guides/using-provisional-accounts#server-authentication-with-bot-token-endpoint) for authentication, you can unmerge accounts without an external auth token.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to mention that you can use this to unmerge even if you've lost the discord auth token?

Something like:

:::info
This endpoint can also be useful in cases where the Discord Auth token has been lost to to error or data loss, and an unmerge operation is required to migrate to a provisional account before re-linking a Discord account.
:::

WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants