OpenRCS API reference · v1 ← Back to console Swagger UI
Accounts

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

NameInTypeRequiredDescription
Authorization header string yes Bearer token obtained from `POST /login`.

Request body

FieldTypeRequiredDescription
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

StatusDescription
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"
}