Skip to main content
The Nodes API allows you to manage the physical or virtual machines that host game servers. Each node runs the Wings daemon and can host multiple servers.

List Nodes

Retrieves a paginated list of all nodes on the Panel.

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 descending
string
Include related resources. Available: allocations, location, servers

Response

string
Always list
array
Array of node objects

Get Node Details

Retrieves details for a specific node.

Path Parameters

integer
required
The internal ID of the node

Query Parameters

string
Include related resources. Available: allocations, location, servers

Get Node Configuration

Retrieves the Wings configuration for a specific node.

Path Parameters

integer
required
The internal ID of the node

Get Deployable Nodes

Retrieves a list of nodes that have available resources for deployment.

Create Node

Creates a new node on the Panel.

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 https
integer
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 status 201 Created.

Update Node

Updates an existing node’s configuration.

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

Deletes a node from the Panel. The node must not have any active servers.

Path Parameters

integer
required
The internal ID of the node to delete

Response

Returns HTTP status 204 No Content on successful deletion.
A node cannot be deleted if it has any servers assigned to it. Delete or transfer the servers first.

Allocations

List Allocations

Retrieves all IP allocations for a specific node.

Path Parameters

integer
required
The internal ID of the node

Create Allocations

Creates new IP allocations for a node.
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

Deletes a specific allocation. The allocation must not be assigned to a server.

Path Parameters

integer
required
The internal ID of the node
integer
required
The internal ID of the allocation to delete