POST
/
account
/
two-factor
Enable 2fa
curl --request POST \
  --url https://dashboard.gratian.pro/api/client/account/two-factor \
  --header 'Authorization: Bearer <token>'
{
  "object": "recovery_tokens",
  "attributes": {
    "tokens": [
      "<any>"
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json

The response is of type object.