Skip to main content

Register hardware 2FA finish

POST 

/v1/settings/hw-2fa-registration-finish

Register hardware 2FA finish

This endpoint finish the registration process for hardware-based two-factor authentication (2FA). It requires a JSON payload containing the credential details. Upon successful completion, it registers the hardware 2FA for the user and returns a 201 status code along with the ID of the newly registered 2FA method. If the session data is missing or the operation times out, it responds with appropriate error codes (403 for timeout, 404 for missing session data, and 500 for internal server errors).

Request

Body

required
    credential stringrequired
    sessionId stringrequired

Responses

Hardware 2FA registered

Schema

    string

Loading...