---
title: "Complete one-time password configuration"
method: PUT
path: "/me/2fa/otp"
tags: ["Users"]
---

# Complete one-time password configuration

`PUT /me/2fa/otp`

## Request body

- TwoFactorAuthConfigureOTPRequestBody — TwoFactorAuthConfigureOTPRequestBody
  - `otp` string, required — One-time password
  - `password` string, required — Current password
  - `uri` string, required — URI describing the TOTP

## Response `200`

Response

- TwoFactorAuthConfigureOTPResponse — TwoFactorAuthConfigureOTPResponse
  - `errors` object[] — List of errors occurred during request processing
    - `message` string, required — Printable error message
    - `more_info` string — URL to the documentation of the error
    - `status` integer, required — HTTP error status code
  - `message` string — Printable result of the request
  - `method` string, required — Two-factor authentication method being used, if any
  - `token` string, required — New API session authentication token when configuration is complete

---

[API](https://skmtc.net/aiven/apis/aiven-api-documentation.md) · [All operations](https://skmtc.net/aiven/apis/aiven-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aiven/aiven-api-documentation/versions/ecaeabf1da31/schema)
