Pterodactyl PHP SDK
  • Documentation
  • Basics
    • Installation
    • SDK initialization
  • API - Application
    • Users
    • Nodes
    • Nodes -> Allocations
    • Locations
    • Servers
    • Servers -> Databases
    • Nests
  • API - Client
    • Basic functions
    • Account
    • Server
    • Server -> Databases
    • Server -> File Manager
    • Server -> Schedules
    • Server -> Network (allocations)
    • Server -> Users
    • Server -> Backups
    • Server -> Startup
    • Server -> Settings
Powered by GitBook
On this page
  • List nodes
  • Create node
  • Node details
  • Node configuration
  • Update node
  • Delete node
  1. API - Application

Nodes

$client->application->nodes

List nodes

$client->application->nodes->paginate(int $page = 1);

Create node

$client->application->nodes->create(array $data);

Node details

$client->application->nodes->details(int $nodeId);

Node configuration

$client->application->nodes->configuration(int $nodeId);

Update node

$client->application->nodes->update(int $userId, array $data);

Delete node

$client->application->nodes->delete(int $nodeId);
PreviousUsersNextNodes -> Allocations

Last updated 3 years ago