Skip to content
Open the portal
Developer docs

Totp Register

POST
/v1/auth/mfa/totp
curl --request POST \
--url https://example.com/v1/auth/mfa/totp \
--header 'Content-Type: application/json' \
--data '{ "name": "Authenticator app", "code": "example" }'
Media typeapplication/json
TotpIn
object
name
Name
string
default: Authenticator app <= 64 characters
code
required
Code
string
>= 6 characters <= 7 characters

Successful Response

Media typeapplication/json
Response Totp Register V1 Auth Mfa Totp Post
object
key
additional properties
any
Examplegenerated
{}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}