Toggle Email Verification
Toggle the authenticated user's email verification status. Only available when sandbox mode is enabled (APP_SANDBOX=true) — and never in production, regardless of the flag.
HTTP Request
POST /api/v1/sandbox/me/email-verification/toggle
Response
204 No Content
The response has no body. A verified email becomes unverified and vice versa — read the new status from emailVerified of Get Profile.
Error Handling
401 Unauthorized
json
{
"message": "Unauthenticated."
}404 Not Found — Sandbox mode is not enabled, or the environment is production. This is answered before the token is checked, so a disabled sandbox never answers 401.
429 Too Many Requests — more than 120 requests per minute for this user.