PATCH
/
me
/
sessions
Refresh session
curl --request PATCH \
  --url https://console.gmicloud.com/api/v1/me/sessions \
  --header 'CE-ClientId: <ce-clientid>' \
  --header 'Content-Type: application/json' \
  --data '{
  "refreshToken": "eyJhbGciOiJIUzI1NiIsInR..."
}'
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR...",
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR..."
}

Headers

CE-ClientId
string
required

A unique identifier to each user device and browser.

  • Must be less than 8 characters.
  • Only alphanumeric characters are allowed.

Body

application/json

The refresh session request body.

The body is of type object.

Response

Successfully refreshed an existing session.

The response is of type object.