Users

Configure two-factor authentication

put/me/2fa

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/me/2fa
  • Auth
    HTTP bearer and OAuth 2
    Authorization code: https://console.aiven.io/oauth/authorize
    Token URL: https://api.aiven.io/v1/oauth2/token scopes: user:write, authentication:write

Request body

methodstring required

Two-factor authentication method being used, if any

passwordstring required

Current password

Response

Response

messagestring

Printable result of the request

methodstring required

Two-factor authentication method being used, if any

qrcodestring

QR code describing the TOTP as a base64-encoded PNG

uristring

URI describing the TOTP

Changes

No recorded changes to this operation across all 46 revisions of this API.