List Nodes
Query Parameters
integer
default:"50"
Number of results per page
string
Filter nodes by UUID
string
Filter nodes by name
string
Filter nodes by fully qualified domain name
string
Filter nodes by daemon token ID
string
Sort by field. Available:
id, uuid, memory, disk. Prefix with - for descendingstring
Include related resources. Available:
allocations, location, serversResponse
string
Always
listarray
Array of node objects
Get Node Details
Path Parameters
integer
required
The internal ID of the node
Query Parameters
string
Include related resources. Available:
allocations, location, serversGet Node Configuration
Path Parameters
integer
required
The internal ID of the node
Get Deployable Nodes
Create Node
Request Body
string
required
Display name for the node (1-100 characters)
integer
required
ID of the location this node belongs to
string
required
Fully qualified domain name or IP address
string
required
Connection scheme:
http or httpsinteger
required
Total memory in MB
integer
required
Total disk space in MB
integer
required
Port the daemon listens on (typically 8080)
integer
required
Port for SFTP connections (typically 2022)
string
Optional description of the node
boolean
default:true
Whether the node is publicly visible
boolean
default:false
Whether the daemon is behind a proxy
boolean
default:false
Whether to enable maintenance mode
integer
default:0
Memory overallocation percentage (-1 to 100)
integer
default:0
Disk overallocation percentage (-1 to 100)
integer
default:100
Maximum file upload size in MB
string
Base directory for server files (defaults to
/var/lib/pterodactyl/volumes)Response
Returns the created node object with HTTP status201 Created.
Update Node
Path Parameters
integer
required
The internal ID of the node to update
Request Body
All fields are optional. Only include fields you want to update. Accepts the same fields as Create Node.boolean
default:false
Whether to regenerate the daemon secret token
Response
Returns the updated node object.Delete Node
Path Parameters
integer
required
The internal ID of the node to delete
Response
Returns HTTP status204 No Content on successful deletion.
Allocations
List Allocations
Path Parameters
integer
required
The internal ID of the node
Create Allocations
string
required
IP address to allocate
array
required
Array of ports or port ranges (e.g.,
["25565", "25566-25570"])string
Optional alias for the IP address
Delete Allocation
Path Parameters
integer
required
The internal ID of the node
integer
required
The internal ID of the allocation to delete
