Pterodactyldocs
Client A P I

List server allocations

Returns all network allocations assigned to the server.

GET/api/client/servers/{server_uuid}/network/allocations
AuthorizationBearer <token>

Application API requests require an application API token, or a client API token, that belongs to a root administrator. Admin API requests require a client API token that belongs to a root administrator, and reject application API tokens. Client API requests require a client API token.

In: header

Path Parameters

server_uuid*string

The server UUID.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/client/servers/d3aac109-e5a0-4331-b03e-3454f7e02bbe/network/allocations"
{  "object": "list",  "data": [    {      "object": "allocation",      "attributes": {        "id": 9834,        "ip": "54.95.112.197",        "ip_alias": "string",        "port": 8189,        "notes": "Primary game port",        "is_default": false      }    }  ]}