Generate TOTP
POST/api
Returns TOTP data that can be used to configure TOTP for a user.
Request
- application/json
Body
array
required
Array [
]
action Actionrequired
Possible values: [generate_totp
]
metadata
object
property name* any
Responses
- 200
- 422
Successful Response
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Messagerequired
type Error Typerequired
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...