Skip to Content
MinexonMinexon

provider.discord.disconnect

Unlink Discord from the current site account.

POST/api/v1/{locale}/account/providers/discord/disconnect

API scope provider.discord.disconnect

Request

Send Authorization: Bearer <key> with each request.

Requires a signed-in player and applicable permission.

Path parameters

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.

This endpoint takes no request body.

Run samples from your application server. See Quickstart for variables and sessions.

curl --fail-with-body --request POST \
  -H "Authorization: Bearer $MINEXON_API_KEY" \
  -b "$MINEXON_COOKIE_JAR" -c "$MINEXON_COOKIE_JAR" \
  "${MINEXON_BASE_URL}/api/v1/en/account/providers/discord/disconnect"

Response

HTTP 200 · application/json

FieldTypeRequirementDescription
nextstringRequiredNext location returned by the CMS or provider.
noticesstring[]ConditionalSuccess and state codes.
errorstringConditionalError code.
errorsstring[]ConditionalField or operation error codes.
{
  "next": "<next URL returned by CMS>"
}

Flow and error cases

The link may be kept when this provider is required for sign-in.

Shared error and authentication contract