Change Username
GET
https://keyauth.win/api/1.2/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.cc/app/?page=sessions
name
string
required
The name of the application
ownerid
string
required
Your owner ID
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 9 months ago