Scroll
EvoraDocs
Get started
C++ SDK
REST API
Manage
Endpoint reference
All endpoints
GETPlan quota and current usage
GETList applicationsPOSTCreate an applicationGETGet an applicationPUTUpdate an applicationDELETEDelete an application
GETApplication statisticsGETExtended overviewGETLogin activity by dayGETUser growth over timeGETLicense status breakdownGETSession trends
GETList licensesPOSTGenerate licensesGETGet a licensePUTUpdate a licenseDELETEDelete a licensePOSTBan a licensePOSTUnban a licensePOSTReset a license HWIDPOSTFreeze a licensePOSTResume a frozen licensePOSTAdjust license expiry by a signed deltaPOSTBulk license actions
GETLook up a customer by usernameGETList customersPOSTCreate a customerGETGet a customerPUTUpdate a customerDELETEDelete a customerPOSTMint a password-reset tokenPOSTConsume a reset token and set the new passwordPOSTBan a customerPOSTUnban a customerPOSTReset a customer's HWIDGETRead a customer's two-factor stateDELETEReset a customer's two-factor authenticationPOSTReset a customer's device bindingPOSTMint a one-time SDK login token (panel SSO)POSTRedeem a license key on a customer's behalfPOSTBulk customer actions
POSTAuthenticate a customer by license keyPOSTAuthenticate a customer by username and password
GETList a customer's subscriptionsPOSTGrant a subscription directlyDELETERemove a subscriptionPOSTFreeze a subscriptionPOSTResume a frozen subscriptionPOSTExtend a subscription by days
GETList tiersPOSTCreate a tierPUTUpdate a tierDELETEDelete a tier
GETList app variablesPOSTCreate or update a variableDELETEDelete all app variablesGETGet a variablePUTUpdate a variableDELETEDelete a variableGETList every user variable in the applicationGETList one customer's variablesPOSTSet a customer variableDELETEDelete all of a customer's variablesDELETEDelete a customer variable
GETList webhooksPOSTCreate a webhookGETGet a webhookPUTUpdate a webhookDELETEDelete a webhookPOSTFire a test deliveryGETRead the event stream (catch-up)
GETList blacklist entriesPOSTAdd a blacklist entryDELETERemove a blacklist entryGETList whitelist entriesPOSTAdd a whitelist entryDELETERemove a whitelist entry
GETList live sessionsDELETEKill a sessionPOSTKill every live session
GETList logsGETLog statistics
GETList sellersPOSTCreate a sellerGETGet a sellerPUTUpdate a sellerDELETEDelete a sellerPOSTAdd seller balance
GETList clientsPOSTCreate a clientPUTUpdate a clientDELETEDelete a clientGETList a client's application accessPOSTGrant application accessDELETERevoke application access
GETList entitlementsPOSTCreate an entitlementPUTUpdate an entitlementDELETEDelete an entitlementGETList entitlements attached to a tierPOSTAttach an entitlement to a tierGETResolve a customer's entitlements
GETList geo rulesPOSTAdd a geo ruleDELETERemove a geo rulePUTEnable or disable geo restrictions
GETList active leasesDELETERevoke a leaseGETSeat usage for a customer
Docs/API reference/Users

Reset a customer's two-factor authentication

DELETEhttps://api.evora.lol/api/developer-api/users/{userId}/2fa
Requires scopeusers:write

Clears the customer's second factor so they can enrol again. For the support case where someone has lost both their authenticator app and their backup codes.

This is the only path that removes a second factor without presenting a code, which is why it requires your developer credentials and is not reachable from the SDK — a self-service "turn it off" would defeat the feature entirely.

The customer's live sessions across your applications are ended at the same time, on the assumption that the reason for the reset may have been a compromise.

Path parameters
userIdrequired
string (uuid)
End-user UUID.
Responses
200Two-factor cleared and sessions ended.
json
{
  "success": true
}
400The customer does not have two-factor enabled.
json
{
  "error": "Two-factor authentication is not enabled for this user"
}
404User not found, or not yours.
json
{
  "error": "User not found"
}

More in Users

  • getLook up a customer by username
  • getList customers
  • postCreate a customer
  • getGet a customer
  • putUpdate a customer
  • deleteDelete a customer
  • postMint a password-reset token
  • postConsume a reset token and set the new password
  • postBan a customer
  • postUnban a customer
  • postReset a customer's HWID
  • getRead a customer's two-factor state
  • postReset a customer's device binding
  • postMint a one-time SDK login token (panel SSO)
  • postRedeem a license key on a customer's behalf
  • postBulk customer actions

Base URL https://api.evora.lol/api/developer-api · full spec at developer-api.yaml · back to the docs