Skip to content

Disable two-factor authentication

POST
/api/v1/auth/2fa/disable

Disable 2FA for the current user after verifying a valid OTP or backup code. Blocked if the organization enforces 2FA.

Authorizations

HTTPBearer
Type
HTTP (bearer)

Request Body

application/json
JSON
{
"code": "string"
}

Responses

Successful Response

application/json
JSON
[
]

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI

XC AI Content Automation