account.cancel-email-change
Cancel a pending email change.
POST
/api/v1/{locale}/account/cancel-email-changeAPI scope account.cancel-email-change
Request
Send Authorization: Bearer <key> with each request.
Requires a signed-in player and applicable permission.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
Request body
| Field | Type | Requirement | Description |
|---|---|---|---|
email_change_request | string | Required | Pending email change request ID. The v1 headless view does not expose this ID. |
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" \
-H 'Content-Type: application/json' \
--data '{
"email_change_request": "<pending request ID>"
}' \
"${MINEXON_BASE_URL}/api/v1/en/account/cancel-email-change"Response
HTTP 200 · application/json
| Field | Type | Requirement | Description |
|---|---|---|---|
next | string | Required | Next location returned by the CMS or provider. |
notices | string[] | Conditional | Success and state codes. |
error | string | Conditional | Error code. |
errors | string[] | Conditional | Field or operation error codes. |
{
"next": "<next URL returned by CMS>"
}Flow and error cases
The v1 JSON view exposes the pending address and timestamps without the request ID. The API responses alone cannot complete this step. Use the account screen for this part of the flow.