PATCH
/
me
/
password
Update user password
curl --request PATCH \
  --url https://console.gmicloud.com/api/v1/me/password \
  --header 'Content-Type: application/json' \
  --data '{
  "newPassword": "MyNewSecurePassword123!",
  "currentPassword": "OldPassword123!",
  "passwordResetToken": "eyJhbGciOiJIUzI1NiIsInR...",
  "otpCode": 321673
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

An access token used to authenticate a user and grant access to restricted APIs. It is issued by session APIs. For status codes related to this header, refer to the Common Headers Documentation.

Body

application/json

The request body for updating user password

The body is of type object.

Response

Successfully updated user password.