Application
Application methods
Create Server
Create a server inside pterodactyl
panelURL (Type STRING)
The link to your pterodactyl panel
apiKey (Type STRING)
Type 2
object (Type OBJECT)
Build object for the server
Example Object
Create user
Create a user from pterodactyl
panelURL (Type STRING)
The link to your pterodactyl panel
apiKey (Type STRING)
Type 2
Email that will belong to this account
password
Password that will belong to this account
username
Username that will belong to this account
name
Name that will belong to this account
Last name
Last name that will belong to this account
List Users
List all users from panel
panelURL (Type STRING)
The link to your pterodactyl panel
apiKey (Type STRING)
type 2
List Servers
List all servers from panel
panelUrl (Type STRING)
The link to your pterodactyl panel
apiKey (Type STRING)
Type 2
Suspend Server
Suspend a specific server
panelUrl (Type STRING)
The link to your pterodactyl panel
apiKey (Type STRING)
Type 2
serverId
ID of the server you want to suspend (the ID is in the internal identifier within the pterodactyl control panel)
suspend (Type BOOLEAN)
Put if you want to suspend or not
Update User
Update a user's information
panelUrl (Type STRING)
The link to your pterodactyl panel
apiKey (Type STRING)
Type 2
userId
User ID (found under Users in the pterodactyl control panel)
object
User update object
Example code
Last updated