Activity and account

Turn on your authenticator app. Returns backup codes once

Asks for your password, and for a code from the secret you got from /api/account/2fa/setup. Note the code proves you hold the authenticator; it is not a second factor on this request. Returns your backup codes, shown once only. Signs out every session.

This is a write: a read-only API key is refused with 403.

post/api/account/2fa/enable

Request

  • Base URL: https://eyalsec.com
  • URL: https://eyalsec.com/api/account/2fa/enable
  • Auth: one of:
    • API key in header X-API-Key
    • API key in cookie __Host-es2session

Response

OK.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.