Skip to main content
POST
/
me
/
2fa-verification-code
Resend 2FA verification code.
curl --request POST \
  --url https://console.gmicloud.ai/api/v1/me/2fa-verification-code \
  --header 'Content-Type: application/json' \
  --data '
{
  "authToken": "eyJhbGciOiJIUzI1NiIsInR..."
}
'
{
  "group": "request",
  "code": 0,
  "validationDetail": [
    {
      "field": "email",
      "expression": "required",
      "originalValue": "",
      "reason": "This field is required."
    }
  ]
}

Body

application/json

The request body for resending 2FA code.

authToken
string
required

A temporary token issued by the create auth token API. This token is used in the create session API to exchange for access and refresh tokens.

Example:

"eyJhbGciOiJIUzI1NiIsInR..."

Response

Successfully sent 2FA verification code.