POST
/
users
/
me
/
enable-2fa
curl --request POST \
  --url https://api.gleap.io/v3/users/me/enable-2fa \
  --header 'Authorization: Bearer <token>'
{
  "user": {
    "displayName": "<string>",
    "name": "<string>",
    "id": "<string>"
  },
  "challenge": "<any>"
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Ok

The response is of type object.