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
  • Get locations
  • Get details
  • Create location
  • Update location
  • Delete location
  1. API - Application

Locations

$client->application->locations

Get locations

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

Get details

$client->application->locations->details(int $locationId);

Create location

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

Update location

$client->application->locations->update(int $locationId, array $data);

Delete location

$client->application->locations->delete(int $locationId);
PreviousNodes -> AllocationsNextServers

Last updated 3 years ago