HTTP Method | URL | Requires Auth |
---|---|---|
POST | /api/v1/users.2fa.disableEmail | yes |
{% hint style="info" %} This endpoint requires 2FA. Refer #call-an-endpoint-with-2fa {% endhint %}
curl -H 'X-Auth-Token: _2u_4MzRroRcnqc59GYUY_Kwgr9HgtZ9HCKn-2aIvMJ' \
-H 'X-User-Id: FL2fZL4ERhwA3gWiS' \
-H "Content-type: application/json" \
'http://localhost:3000/api/v1/users.2fa.disableEmail\
{
"success": true
}