Skip to main content
Verify 2FA Setup
curl --request POST \
  --url https://{tenantId}.api.nestmed.com/api/v1/auth/2fa/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>"
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "details": {}
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
code
string
required

The 6-digit code from the authenticator app.

Response

2FA successfully enabled.