How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Leaseweb Dedicatedserver API

The dedicatedserver API from Leaseweb — 46 operation(s) for dedicatedserver.

Leaseweb Dedicatedserver API is one of 9 APIs that Leaseweb publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 54 JSON Schema definitions.

Tagged areas include dedicatedserver. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 54 JSON Schemas.

This API exposes 61 operations across 46 paths, and defines 131 schemas. It is described by OpenAPI 3.2.0, at version v2.

Requests are made against a single base URL, https://api.leaseweb.com/bareMetals/v2.

61 operations 46 paths 131 schemas 5 DELETE29 GET20 POST7 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v2
Base URL
https://api.leaseweb.com/publicCloud/v1
Authentication
HTTP Bearer, API Key
License
Resource Areas
1

Authentication & Security 2

Leaseweb Dedicatedserver API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). An API key is passed in the header as X-LSW-Auth (X-LSW-Auth). By default, every request must be authenticated.

  • X-LSW-Auth — API key authentication by setting X-LSW-Auth header.

Paths & Operations 61

Across 46 paths, the API surfaces 61 operations — 5 DELETE, 29 GET, 20 POST, 7 PUT. Each is listed below with its method, path, parameters, and response codes.

dedicatedserver 61
GET
/servers
List servers
getServerList 9 params → 200401403500503
GET
/servers/{serverId}
Get server
getServer 1 param → 200401403404500503
PUT
/servers/{serverId}
Update server
updateReference 1 param body → 204401403404500503
GET
/servers/{serverId}/ips
List IPs
getIpList 7 params → 200401403500503
GET
/servers/{serverId}/ips/{ip}
Show a server IP
getIp 2 params → 200400401403500503
PUT
/servers/{serverId}/ips/{ip}
Update an IP
updateIpProfile 2 params body → 200400401403500503
POST
/servers/{serverId}/ips/{ip}/null
Null route an IP
nullIpRoute 2 params → 202400401403500503
POST
/servers/{serverId}/ips/{ip}/unnull
Remove a null route
removeNullIpRoute 2 params → 202400401403500503
GET
/servers/{serverId}/nullRouteHistory
Show null route history
getNullRouteHistory 3 params → 200401403500503
DELETE
/servers/{serverId}/privateNetworks/{privateNetworkId}
Delete a server from a private network
deleteFromPrivateNetwork 2 params → 204400401403404500503
PUT
/servers/{serverId}/privateNetworks/{privateNetworkId}
Add a server to private network
addToPrivateNetwork 2 params body → 204400401403404500503
GET
/servers/{serverId}/networkInterfaces
List network interfaces
getNetworkInterfaceList 1 param → 200401403500503
POST
/servers/{serverId}/networkInterfaces/close
Close all network interfaces
closeNetworkInterfaces 1 param → 204401403500503
POST
/servers/{serverId}/networkInterfaces/open
Open all network interfaces
openNetworkInterfaces 1 param → 204401403500503
GET
/servers/{serverId}/networkInterfaces/{networkTypeURL}
Show a network interface
getNetworkInterface 2 params → 200401403500503
POST
/servers/{serverId}/networkInterfaces/{networkTypeURL}/close
Close network interface
closeNetworkInterface 2 params → 204401403500503
POST
/servers/{serverId}/networkInterfaces/{networkTypeURL}/open
Open network interface
openNetworkInterface 2 params → 204401403500503
GET
/servers/{serverId}/notificationSettings/ddos
Inspect DDoS notification settings
getDdosNotificationSetting 1 param → 200400401403500503
PUT
/servers/{serverId}/notificationSettings/ddos
Update DDoS notification settings
updateDdosNotificationSetting 1 param body → 204400401403500503
GET
/servers/{serverId}/metrics/bandwidth
Show bandwidth metrics
getBandwidthMetrics 5 params → 200400401403500503
GET
/servers/{serverId}/metrics/datatraffic
Show datatraffic metrics
getDataTrafficMetrics 5 params → 200400401403500503
GET
/servers/{serverId}/notificationSettings/bandwidth
List bandwidth notification settings
getBandwidthNotificationSettingList 3 params → 200401403500503
POST
/servers/{serverId}/notificationSettings/bandwidth
Create a bandwidth notification setting
createBandwidthNotificationSetting 1 param body → 201400401403500503
DELETE
/servers/{serverId}/notificationSettings/bandwidth/{notificationSettingId}
Delete a bandwidth notification setting
deleteBandwidthNotificationSetting 2 params → 204401403500503
GET
/servers/{serverId}/notificationSettings/bandwidth/{notificationSettingId}
Show a bandwidth notification setting
getBandwidthNotificationSetting 2 params → 200401403500503
PUT
/servers/{serverId}/notificationSettings/bandwidth/{notificationSettingId}
Update a bandwidth notification setting
updateBandwidthNotificationSetting 2 params body → 200401403500503
GET
/servers/{serverId}/notificationSettings/datatraffic
List data traffic notification settings
getDataTrafficNotificationSettingList 3 params → 200401403500503
POST
/servers/{serverId}/notificationSettings/datatraffic
Create a data traffic notification setting
createDataTrafficNotificationSetting 1 param body → 201400401403500503
DELETE
/servers/{serverId}/notificationSettings/datatraffic/{notificationSettingId}
Delete a data traffic notification setting
deleteDataTrafficNotificationSetting 2 params → 204401403500503
GET
/servers/{serverId}/notificationSettings/datatraffic/{notificationSettingId}
Show a data traffic notification setting
getDataTrafficNotificationSetting 2 params → 200401403500503
PUT
/servers/{serverId}/notificationSettings/datatraffic/{notificationSettingId}
Update a data traffic notification setting
updateDataTrafficNotificationSetting 2 params body → 200401403500503
GET
/servers/{serverId}/hardwareInfo
Show hardware information
getHardware 1 param → 200400401403500503
GET
/hardwareMonitoring
Show hardware monitoring data for all servers
getHardwareMonitoringList 4 params → 200401403404500503
GET
/servers/{serverId}/hardwareMonitoring
Show hardware monitoring data for a server
getHardwareMonitoring 1 param → 200401403404500503
GET
/controlPanels
List control panels
getControlPanelList 2 params → 200401403500503
GET
/operatingSystems
List Operating Systems
getOperatingSystemList 3 params → 200401403500503
GET
/operatingSystems/{operatingSystemId}
Show an operating system
getOperatingSystem 2 params → 200401403500503
GET
/operatingSystems/{operatingSystemId}/controlPanels
List control panels by Operating System
getControlPanelListByOperatingSystemId 4 params → 200401403500503
GET
/rescueImages
Rescue Images
getRescueImageList 3 params → 200401403500503
POST
/servers/{serverId}/cancelActiveJob
Cancel active job
cancelActiveJob 1 param → 200401403500503
GET
/servers/{serverId}/credentials
List server credentials
getCredentialList 3 params → 200401403500503
POST
/servers/{serverId}/credentials
Create new server credentials
createCredential 1 param body → 200401403500503
GET
/servers/{serverId}/credentials/{type}
List server credentials by type
getCredentialListByType 4 params → 200401403500503
DELETE
/servers/{serverId}/credentials/{type}/{username}
Delete server credentials
deleteCredential 3 params → 204401403500503
GET
/servers/{serverId}/credentials/{type}/{username}
Show server credentials
getCredential 3 params → 200401403500503
PUT
/servers/{serverId}/credentials/{type}/{username}
Update server credentials
updateCredential 3 params body → 200400401403500503
POST
/servers/{serverId}/expireActiveJob
Expire active job
expireActiveJob 1 param → 200401403500503
POST
/servers/{serverId}/hardwareScan
Launch hardware scan
scanHardware 1 param body → 202400401403500503
POST
/servers/{serverId}/install
Launch installation
installOperatingSystem 1 param body → 202400401403500503
POST
/servers/{serverId}/ipmiReset
Launch IPMI reset
ipmiReset 1 param body → 202400401403500503
GET
/servers/{serverId}/jobs
List jobs
getJobList 6 params → 200401403500503
GET
/servers/{serverId}/jobs/{jobId}
Show a job
getJob 2 params → 200401403500503
POST
/servers/{serverId}/jobs/{jobId}/retry
Retry a job
retryJob 2 params → 200400401403404500503
DELETE
/servers/{serverId}/leases
Delete a DHCP reservation
deleteDhcpReservation 1 param → 204401403500503
GET
/servers/{serverId}/leases
List DHCP reservations
getDhcpReservationList 1 param → 200401403500503
POST
/servers/{serverId}/leases
Create a DHCP reservation
createDhcpReservation 1 param body → 204400401403500503
POST
/servers/{serverId}/powerCycle
Power cycle a server
powerCycle 1 param → 204400401403500503
GET
/servers/{serverId}/powerInfo
Show power status
getPowerStatus 1 param → 200400401403500503
POST
/servers/{serverId}/powerOff
Power off server
powerOff 1 param → 204400401403500503
POST
/servers/{serverId}/powerOn
Power on server
powerOn 1 param → 204400401403500503
POST
/servers/{serverId}/rescueMode
Launch rescue mode
enableRescueMode 1 param body → 202400401403500503

Schemas 131

The contract defines 131 schemas that model the data the API accepts and returns. The most detailed are contract (22 properties), serverJob (15 properties), job (15 properties), server (14 properties). Each schema is shown below with its type and property counts.

network
object
7 properties
privateNetwork
object
6 properties
hardwareIpmi
object
7 properties
ipmiResetOpts
object
2 properties
controlPanelList
object
2 properties
jobPayload
raidType
string
RAID type to apply. NONE is the equivalent of pass-through mode on HW RAID equipped servers
dataTrafficNotificationSetting
networkTraffic
object
Network traffic associated to the server
5 properties
getHardwareResult
object
5 properties
bandwidthNotificationSetting
credentialList
object
2 properties
job
object
15 properties
enableRescueModeOpts
object
6 properties 1 required
metrics
object
2 properties
server
object
14 properties
networkInterfaces
object
Network interface information grouped by type
3 properties
raidLevel
integer
RAID level to apply, this value is only required if you specify a type HW or SW
pdu
object
Object describing the PDU power information
1 property
_metadata
object
Metadata about the collection
3 properties 3 required
cpu
object
CPU of the server
2 properties
credentialType
string
The type of the credential.
ram
object
RAM of the server
2 properties
metricValues
object
Object containing all metrics
2 properties
chassis
object
6 properties
updateReferenceOpts
object
1 property 1 required
operationNetworkInterface
object
6 properties
nullRouteList
object
2 properties
metricsMetadata
object
Metadata about the collection
4 properties
linkSpeed
integer
The port speed in Mbps
port
object
2 properties
smartctl
ipmi
object
Object describing the IPMI power information
1 property
partition
object
3 properties 2 required
credentialWithoutPassword
object
2 properties 2 required
disk
object
7 properties
serverSpecs
object
Hardware information of the server
7 properties
subnet
object
3 properties
contract
object
Contract information
22 properties
defaults
object
An object containing defaults for this operating system
2 properties
raid
object
Contains RAID related information about the installation request
3 properties
sshKeys
stringnull
SSH keys to be added to the server
motherboard
object
3 properties
public
object
11 properties
lease
object
A single DHCP reservation
10 properties
scanHardwareOpts
object
2 properties
cpuFreq
getDdosNotificationSettingResult
object
2 properties
updateCredentialOpts
object
1 property 1 required
featureAvailability
object
List of features that are available for this device
5 properties
networkType
string
Type of network
lastClientRequest
object
If the server acquired this DHCP reservation, this object shows information about the client
3 properties
networkInterface
object
6 properties
installOperatingSystemPayload
object
installOperatingSystemOpts
object
13 properties 1 required
credential
object
3 properties 3 required
linkSpeeds
object
5 properties
lldpChassis
object
3 properties
os
object
6 properties
createCredentialOpts
object
3 properties 3 required
getRescueImageListResult
object
2 properties
actions
object
2 properties
getNetworkInterfaceListResult
object
2 properties
macAddress
string
Represents a MAC Address in the standard colon delimited format. Eg. 01:23:45:67:89:0A
task
object
A task is a single unit of work that is part of a job
12 properties
jobList
object
2 properties
currentJob
location
object
Device location
4 properties
genericPayload
object
dataTrafficNotificationSettingOpts
object
3 properties 3 required
networkTypeURL
string
Type of network
firmware
object
4 properties
getOperatingSystemListResult
object
2 properties
notificationSetting
object
6 properties 4 required
ipList
object
2 properties
updateIpProfileOpts
object
2 properties
networkSettings
object
12 properties
autoNegotiation
object
2 properties
getPowerStatusResult
object
2 properties
rescueModePayload
object
lldp
object
3 properties
defaultPayloadNetwork
object
The network configuration of the server
2 properties
getOperatingSystemResult
object
11 properties
result
object
Hardware info e.g. chassis, cpu, memory and etc.
6 properties
serverJob
object
15 properties
database
objectnull
Database configuration
3 properties
vlan
object
3 properties
hardwareCpu
object
7 properties
ip
object
9 properties
bandwidthNotificationSettingOpts
object
3 properties 3 required
metadata
objectnull
Metadata of the job
1 property
nullRoute
object
6 properties
dDos
object
DDoS IP Protection Details
2 properties
getBandwidthNotificationSettingListResult
object
2 properties
hardwarePort
object
2 properties
softwareLicense
object
4 properties
networkCapabilities
object
11 properties
operatingSystem
object
A single operating system
2 properties 2 required
rackType
string
rack type
statusTimestamps
object
Timestamp for each state change
10 properties
currentTask
objectnull
The current task of the job
1 property
cpuCapabilities
object
4 properties
errorResult
object
4 properties
ipmiInfo
object
IPMI information for the server
4 properties
getServerListResult
object
2 properties
metricValue
object
An array of metrics grouped by granularity
2 properties
getDataTrafficNotificationSettingListResult
object
2 properties
pciCard
object
A single object of the PCI card
1 property
internal
object
1 property
getHardwareMonitoringResult
object
Hardware monitoring data for a server
4 properties
rescueImage
object
A single rescue image
2 properties
jobType
string
Type of the job
progress
object
Describes progress of the jobs on the server
11 properties
payload
object
8 properties
getDhcpReservationListResult
object
2 properties
memoryBank
object
5 properties
createDhcpReservationOpts
object
2 properties 1 required
hdd
object
A single object of the hard disk drive
6 properties
ipmiMonitoringMetric
object
A single IPMI monitoring metric
3 properties 2 required
updateDdosNotificationSettingOpts
object
2 properties
rack
object
Rack details where this network equipment is located at
3 properties
raidPayload
objectnull
3 properties
cpuSettings
object
3 properties
addToPrivateNetworkOpts
object
1 property 1 required
getHardwareMonitoringListResult
object
2 properties
metric
object
2 properties
controlPanel
object
A single control panel
2 properties 2 required
getHardwareResult_2
object
5 properties
chassis_2
object
6 properties
firmware_2
object
4 properties
result_2
object
Hardware info e.g. chassis, cpu, memory and etc.
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

leaseweb-dedicatedserver-api-openapi.yml Raw ↑

Other APIs Leaseweb publishes across the network.

Leaseweb Abuse API
Leaseweb Aggregationpack API
Leaseweb Dns API
Leaseweb Invoice API
Leaseweb Ipmgmt API
Leaseweb Networkequipment API
Leaseweb Objectstorage API
Leaseweb Ordering API
Where this information came from

This is an independent, third-party profile of Leaseweb Dedicatedserver API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.