General APIs with JWT

Turns two-factor on with a first code from the authenticator; the recovery codes are shown only here. Every other session of the account ends, so one an attacker already holds does not outlive the change; API keys stay (the user rotates them on their own).

post/auth/totp/enable

Request

  • Base URL
    https://lium.io/api
  • Auth
    HTTP bearer

Request body

codestring required

Response

Successful Response

recovery_codesstring[] required

Changes