POST
/2fa/disable
curl \
--request POST 'http://localhost:8080/2fa/disable' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"username":"string","password":"string"}'
Request examples
{
"username": "string",
"password": "string"
}
Response examples (200)
{
"code": 42,
"message": "string"
}
Response examples (400)
{
"code": 42,
"message": "string",
"error": "string"
}
Response examples (401)
{
"code": 42,
"message": "string",
"error": "string"
}