Skip to content

Revoke OTP

POST/web/v1/users/self/security/mfa/otp/revoke JWT

Permanently revokes OTP-based MFA for the authenticated user. Deletes the OTP secret and removes the OTP method. If OTP was the last MFA method, account-level MFA is automatically disabled. Returns 204 No Content.

Required Headers

HeaderExample ValueDescription
Content-Typeapplication/jsonRequest content type
Acceptapplication/jsonExpected response type
X-Client-HashClient device fingerprint
Accept-Languageen, zh, zh-Hant, ja, viResponse language (default: en)
AuthorizationBearerJWT access token

Request Parameters

No request parameters required.

Success Response

No Content 204

Error Responses

Unauthorized 401
{
  "success": false,
  "code": "4010",
  "message": "Invalid or expired token"
}

Notes

  • Returns HTTP 204 No Content on success.
  • Completely removes OTP configuration — to re-enable OTP, the user must go through setup and verify again.
  • If this was the only MFA method, account-level MFA is automatically disabled.
  • Rate limited to 5 requests per 300-second window.

SlaunchX Internal Documentation