EpicAuth
  1. Features
EpicAuth
  • Overview
    • Security Pratices
    • Premade Examples - SDKS
    • QnA
    • Rate Limiting
  • Dashboard
    • Manage Applications
    • App
      • Licenses
      • Users
      • Tokens
      • Subscriptions
      • Chats
      • Sessions
      • Webhooks
      • Files
      • Global Variables
      • Logs
      • Blacklists
      • Whitelists
      • Audit Logs
      • Settings
    • Seller
      • Settings
      • Web Loader
      • Logs
    • Settings
      • Forms
      • Resellers | Manager
      • Settings
  • API
    • Getting Started
      • License
        • License Login
        • Redeem License (Upgrade)
      • Initialization
      • Login
      • Logout
      • Register
    • Features
      • Ban User
        GET
      • Check Blacklist
        GET
      • Check Session
        GET
      • Disable 2FA
        GET
      • Change Username
        GET
      • Download File
        GET
      • Enable 2FA
        GET
      • Fetch Online Users
        GET
      • Forgot Password
        GET
      • Fetch Stats
        GET
      • Log
        GET
      • Webhook
        GET
      • Retrieve Global Variable
        GET
    • Displaying Data
      • Displaying Data
  • Seller API
    • Application Settings
      • Add Application Hash
      • Edit Application Settings
      • Retrieve Application Details
      • Retrieve Current Application Settings
      • Retrieve Stats
      • Pause Application
      • Reset Application hash
      • Unpause Application
    • Blacklists
      • Create New Blacklist
      • Delete An Existing Blacklist
      • Delete All Blacklists
      • Retrieve All Blacklists
    • Chats
      • Create A New Chat Channel
      • Delete Channel Messages
      • Delete Existing Chat Channel
      • Edit Existing Chat Channel
      • Retrieve All Mutes
      • Retrieve All Chat Channels
      • Mute A User
      • Unmute A User
    • Files
      • Delete Existing File
      • Delete All Files
      • Retrieve All Existing Files
      • Retrieve An Existing File
      • Edit An Existing File
      • Upload A New File
  1. Features

Change Username

GET
https://keyauth.site/api/1.3/
Allow the user to change their username.
⚠️THE USER MUST BE LOGGED IN (VALID SESSION) - ONCE THE USERNAME IS CHANGED, THE LOGOUT FEATURE SHOULD BE CALLED TO ENSURE THE USER IS ACTUALLY LOGGED OUT AND THE APPLICATION CLOSES SO THAT THEY CAN LOG IN AGAIN WITH THEIR NEW USERNAME ⚠️

Request

Query Params
type
string 
required
The type of request. (changeUsername)
Example:
changeUsername
newUsername
string 
required
The new username the user would like
sessionid
string 
required
The session ID of the user logging in. Obtained by initializing on the application first and finding the session by visiting https://keyauth.site/app/?page=sessions
name
string 
required
The name of the application
ownerid
string 
required
Your owner ID

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://keyauth.site/api/1.3/?type=changeUsername&newUsername&sessionid&name&ownerid'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
    "success": true,
    "message": "Successfully changed username, user logged out.",
    "nonce": ""
}
🟠400Failure
🔴500Server Error
Modified at 2025-06-02 22:40:45
Previous
Disable 2FA
Next
Download File
Built with