Dedicated servers
All operations require authentication.
List server interfaces. Returns the dedicated server network interfaces attached to the vRack.Production
Path parameters
The internal name of your vrack
Response
Example uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ vrack/ {serviceName}/ dedicatedServerInterface \
-H "authorization: Bearer $OVH_TOKEN"[ "string"]
Get a server interface. Returns the attached interface and its vRack.Production
Path parameters
Dedicated Server Interface
The internal name of your vrack
Response
Dedicated Server Interface
vrack name
Example uses dedicatedServerInterface = string, serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ vrack/ {serviceName}/ dedicatedServerInterface/ {dedicatedServerInterface} \
-H "authorization: Bearer $OVH_TOKEN"{ "dedicatedServerInterface": "string", "vrack": "string"}
Attach a server interfaceProduction
Attach a server interface. Attaches a dedicated server network interface to the vRack. Returns the task that performs it.
Path parameters
The internal name of your vrack
Request body (required)
Dedicated server interface to add
Response
Task status
cancelleddoingdoneinittodoExample uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ vrack/ {serviceName}/ dedicatedServerInterface \
-H "authorization: Bearer $OVH_TOKEN"{ "function": "string", "id": 0, "lastUpdate": "2024-01-01T12:00:00Z", "orderId": 0, "serviceName": "string", "status": "cancelled", "targetDomain": "string", "todoDate": "2024-01-01T12:00:00Z"}
Detach a server interface. Detaches the interface from the vRack. Returns the task that performs it.Production
Path parameters
Dedicated Server Interface
The internal name of your vrack
Response
Task status
cancelleddoingdoneinittodoExample uses dedicatedServerInterface = string, serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ vrack/ {serviceName}/ dedicatedServerInterface/ {dedicatedServerInterface} \
-H "authorization: Bearer $OVH_TOKEN"{ "function": "string", "id": 0, "lastUpdate": "2024-01-01T12:00:00Z", "orderId": 0, "serviceName": "string", "status": "cancelled", "targetDomain": "string", "todoDate": "2024-01-01T12:00:00Z"}
List server interface details. Returns the attached interfaces with the server each one belongs to.Production
Path parameters
The internal name of your vrack
Response
the name of dedicatedServer
the unique identifier of dedicatedServerInterface
the name of dedicatedServerInterface
Example uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ vrack/ {serviceName}/ dedicatedServerInterfaceDetails \
-H "authorization: Bearer $OVH_TOKEN"[ { "dedicatedServer": "string", "dedicatedServerInterface": "string", "name": "string" }]
List servers (legacy)Production
List servers (legacy). Returns the dedicated servers attached as a whole to the vRack, in the legacy mode. Attaching by interface replaces it.
Path parameters
The internal name of your vrack
Response
Example uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ vrack/ {serviceName}/ dedicatedServer \
-H "authorization: Bearer $OVH_TOKEN"[ "string"]
Get a server link (legacy)Production
Get a server link (legacy). Returns the attached server and its vRack. This is the legacy whole-server link, not an interface link.
Path parameters
Dedicated Server
The internal name of your vrack
Response
Dedicated Server
vrack name
Example uses dedicatedServer = string, serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ vrack/ {serviceName}/ dedicatedServer/ {dedicatedServer} \
-H "authorization: Bearer $OVH_TOKEN"{ "dedicatedServer": "string", "vrack": "string"}
Attach a server (legacy)Production
Attach a server (legacy). Attaches a whole dedicated server to the vRack, in the legacy mode. Prefer attaching one of its interfaces. Returns the task that performs it.
Path parameters
The internal name of your vrack
Request body (required)
Dedicated server to add
Response
Task status
cancelleddoingdoneinittodoExample uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ vrack/ {serviceName}/ dedicatedServer \
-H "authorization: Bearer $OVH_TOKEN"{ "function": "string", "id": 0, "lastUpdate": "2024-01-01T12:00:00Z", "orderId": 0, "serviceName": "string", "status": "cancelled", "targetDomain": "string", "todoDate": "2024-01-01T12:00:00Z"}
Detach a server (legacy)Production
Detach a server (legacy). Detaches a whole dedicated server from the vRack, in the legacy mode. Returns the task that performs it.
Path parameters
Dedicated Server
The internal name of your vrack
Response
Task status
cancelleddoingdoneinittodoExample uses dedicatedServer = string, serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ vrack/ {serviceName}/ dedicatedServer/ {dedicatedServer} \
-H "authorization: Bearer $OVH_TOKEN"{ "function": "string", "id": 0, "lastUpdate": "2024-01-01T12:00:00Z", "orderId": 0, "serviceName": "string", "status": "cancelled", "targetDomain": "string", "todoDate": "2024-01-01T12:00:00Z"}
Get traffic graph values (deprecated)Deprecated
Deprecated since Oct 22, 2017, will be removed on Apr 22, 2018 — use /dedicated/server/{serviceName}/networkInterfaceController instead.
Get traffic graph values (deprecated). Returns the traffic, packets or errors measured on the vRack port of the server, for a period from hourly to yearly. Deprecated: use the dedicated server statistics instead.
Path parameters
Dedicated Server
The internal name of your vrack
Query parameters
mrtg period
dailyhourlymonthlyweeklyyearlymrtg type
errors:downloaderrors:uploadpackets:downloadpackets:uploadtraffic:downloadtraffic:uploadResponse
A numeric value tagged with its unit
Example uses dedicatedServer = string, serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ 1.0/ vrack/ {serviceName}/ dedicatedServer/ {dedicatedServer}/ mrtg \
-H "authorization: Bearer $OVH_TOKEN"[ { "timestamp": 0, "value": { "unit": "string", "value": 0 } }]