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..."
}'
This response does not have an example.

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.