MfaDisableRequest
Fields
Disabling requires the password *and* a live second factor.
3 fields
code- string or null
password· required- string
recovery_code- string or null
Raw schema (JSON)
{
"description": "Disabling requires the password *and* a live second factor.\n\nPassword alone would let anyone holding a stolen session strip the factor\nthat session was supposed to be protected by.",
"properties": {
"code": {
"anyOf": [
{
"maxLength": 12,
"type": "string"
},
{
"type": "null"
}
],
"title": "Code"
},
"password": {
"maxLength": 128,
"title": "Password",
"type": "string"
},
"recovery_code": {
"anyOf": [
{
"maxLength": 64,
"type": "string"
},
{
"type": "null"
}
],
"title": "Recovery Code"
}
},
"required": [
"password"
],
"title": "MfaDisableRequest",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
POST/api/v1/auth/mfa/disable— Disable Mfa
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON