account.recovery
Request a password reset when username and email match.
POST
/api/v1/{locale}/account/recoveryAPI scope account.recovery
Request
Send Authorization: Bearer <key> with each request.
Guest session. Preserve the same cookie for stateful steps.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
Request body
| Field | Type | Requirement | Description |
|---|---|---|---|
username | string | Required | Site username. |
email | string | Required | Account email address. |
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 '{
"username": "ExamplePlayer",
"email": "[email protected]"
}' \
"${MINEXON_BASE_URL}/api/v1/en/account/recovery"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
An acknowledgement does not confirm an account match or email delivery.