Disable SMS MFA (the phone attribute is kept)
POST
/account/mfa/disable
bearer_auth
Turns SMS MFA off. The verified phone number is KEPT, so re-enabling is one `POST /account/mfa/confirm` away — only the MFA preference is flipped off.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Authorization |
header | string | yes | Bearer token obtained from `POST /login`. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
access_token |
string | yes | The caller's access token, as returned by `POST /login` (body field — the `Authorization` header carries the id token). |
{
"access_token": "<access_token>"
}
Responses
| Status | Description |
|---|---|
200 |
SMS MFA disabled. |
400 |
Missing, non-string or oversized `access_token`. |
401 |
Missing authorizer claims (`unauthorized`), or an invalid body `access_token` (`invalid access token`). |
429 |
Too many attempts; retry later. |
502 |
Upstream authentication call failed; a generic error is returned and no internals are leaked. |
200 example
{
"mfa": "none"
}