Profile

Change user login

Changed on

Change the current user login to a new one.

patch/v1/profile/change-login

Request

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

Request body

new_loginstring required

User login for registration

Example request

{
  "new_login": "username"
}

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

    • info

      added the non-success response with the status