Skip to main content
The Locations API allows you to manage geographic or logical groupings for your nodes. Locations help organize nodes by datacenter, region, or any other grouping that makes sense for your deployment.

List Locations

Retrieves a paginated list of all locations on the Panel.

Query Parameters

integer
default:"50"
Number of results per page
string
Filter locations by short identifier
string
Filter locations by description
string
Sort by field. Available: id. Prefix with - for descending order
string
Include related resources. Available: nodes, servers

Response

string
Always list
array
Array of location objects

Get Location Details

Retrieves details for a specific location.

Path Parameters

integer
required
The internal ID of the location

Query Parameters

string
Include related resources. Available: nodes, servers

Response

Create Location

Creates a new location on the Panel.

Request Body

string
required
Short identifier code for the location (1-60 characters, must be unique)
string
Full description of the location (optional, max 191 characters)

Response

Returns the created location object with HTTP status 201 Created.

Update Location

Updates an existing location.

Path Parameters

integer
required
The internal ID of the location to update

Request Body

All fields are optional. Only include fields you want to update.
string
New short identifier code (must be unique)
string
New description

Response

Returns the updated location object.

Delete Location

Deletes a location from the Panel. The location must not have any nodes assigned to it.

Path Parameters

integer
required
The internal ID of the location to delete

Response

Returns HTTP status 204 No Content on successful deletion.
A location cannot be deleted if it has any nodes assigned to it. Reassign or delete the nodes first.

Usage Examples

Creating a Multi-Region Setup

Listing Locations with Nodes