Skip to main content
DELETE
/
api
/
v1
/
auth
/
user
/
2fa
Disable Totp Package Alias
curl --request DELETE \
  --url https://api.hevn.finance/api/v1/auth/user/2fa \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>"
}
'
{}

Authorizations

Authorization
string
header
default:Bearer <token>
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request to disable 2FA.

code
string
required

Current TOTP code

Required string length: 6

Response

Successful Response

The response is of type Response Disable Totp Package Alias Api V1 Auth User 2Fa Delete · object.