user

Disable totp settings

Changed on

Disables any totp settings for the current user. Requires the current password and a current totp passcode.

post/user/settings/totp/disable

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/user/settings/totp/disable
  • Auth
    API key in header Authorization

Request body

long_tokenboolean

If true, the token returned will be valid a lot longer than default. Useful for "remember me" style logins.

passwordstring

The password for the user.

totp_passcodestring

The totp passcode of a user. Only needs to be provided when enabled.

usernamestring

The username used to log in.

Response

Successfully disabled

messagestring

A standard message.

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status