Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (18 loc) · 821 Bytes

File metadata and controls

24 lines (18 loc) · 821 Bytes

Disable 2FA Email

HTTP MethodURLRequires Auth
POST/api/v1/users.2fa.disableEmailyes

{% hint style="info" %} This endpoint requires 2FA. Refer #call-an-endpoint-with-2fa {% endhint %}

Example Call

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\

Example Response

{
    "success": true
}