POST
/
users
/
email-verification
Verify user's email and complete user registration.
curl --request POST \
  --url https://console.gmicloud.com/api/v1/users/email-verification \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "otpCode": 321673
}'
{
  "id": "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11",
  "authToken": "eyJhbGciOiJIUzI1NiIsInR..."
}

Authorizations

Authorization
string
header
required

A token used to verify the validity of an email address. It must be included in the Authorization header when verifying the email address.

Body

application/json

The request body for email verification

The body is of type object.

Response

User email successfully verified and user account is created.

The response is of type object.