cURL
curl --request POST \ --url https://dashboard.gratian.pro/api/client/account/two-factor \ --header 'Authorization: Bearer <token>'
{ "object": "recovery_tokens", "attributes": { "tokens": [ "<any>" ] } }
Updates a user’s account to have two-factor enabled.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The response is of type object.
object