POST
/
me
/
auth-tokens
Create an auth token.
curl --request POST \
  --url https://console.gmicloud.com/api/v1/me/auth-tokens \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "john_doe@example.com",
  "password": "john_doe_password"
}'
{
"authToken": "eyJhbGciOiJIUzI1NiIsInR...",
"is2FARequired": true
}

Body

application/json

The create session request body.

The body is of type object.

Response

Successfully created an auth token for user.

The response is of type object.