Profile

Change user password

Changed on

Change the current user password to a new one.

patch/v1/profile/change-password

Request

  • Base URL
    https://api.getmytg.com
  • URL
    https://api.getmytg.com/v1/profile/change-password
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Request body

new_passwordstring required

User password. Must contain at least two character types: lowercase, uppercase, digits, or special characters

Example request

{
  "new_password": "Password123"
}

Response

Response for status 200

successboolean required

Indicates if the operation was successful

Example response

{
  "success": true
}

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status