Users

Complete one-time password configuration

put/me/2fa/otp

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/me/2fa/otp
  • 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

otpstring required

One-time password

passwordstring required

Current password

uristring required

URI describing the TOTP

Response

Response

messagestring

Printable result of the request

methodstring required

Two-factor authentication method being used, if any

tokenstring required

New API session authentication token when configuration is complete

Changes

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