Redeem License (Upgrade)
GET
https://keyauth.win/api/1.2/Assign an unused license to a user.
⚠️Do not log the user in after a successful upgrade, the upgrade endpoint is simply for a user to activate a key on their account. There's no password verification, so it would be unsafe for you to log the user in because all the user needs is an account username and valid key.⚠️
Request
Query Params
type
string
required
The type of request. (upgrade)
Example:
upgrade
username
string
required
The username of the username that is having a key assigned
key
string
required
The key that is being assigned to the user
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: 10 months ago