Skip to content

Network

All operations require authentication.

37 operationsv1/dedicated/server
Agent setup

List IP blocksProduction

GET
/1.0/dedicated/server/{serviceName}/ips

List IP blocks. Returns all the IPs of the server, each as an IP block. To move a failover IP to the server, use the ipMove operation.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Response

200ipBlock[]successful operation

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/ips \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "192.0.2.0/24"]

Move a failover IP to the serverProduction

POST
/1.0/dedicated/server/{serviceName}/ipMove

Move a failover IP to the server. Moves the given failover IP block to the server. Returns the task that performs the move.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Request body (required)

ip
required
ipBlock

The ip to move to this server

Response

200Tasksuccessful operation
changeUuid
read-only
string

UUID of the change linked to this task

comment
read-only
string

Details of this task

doneDate
read-only
stringdate-time

Completion date

function
read-only
TaskFunctionEnum

Function name

ValuesINFRA_002_VirtualNetworkInterfaceINFRA_002_VirtualNetworkInterface_groupINFRA_002_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_VirtualNetworkInterface_ungroupaddVirtualMacaddWindowSplaFromExistingSerialapplyBackupFtpAclsapplyBackupFtpQuotabypassAntiDDosGamechangePasswordBackupFTPchangeRipeOrgcheckAndReleaseIpcreateBackupFTPcreateOrUpdateRipeOrgcreatePrivateNetworkdisableFirewallenableFirewallgenericMoveFloatingIphardReboothardware_updateipmi/configureSGXmigrateBackupFTPmoveFloatingIpmoveVirtualMacreagregateBlockrebootPower8ToreinstallServerreleaseIpremoveBackupFTPremoveVirtualMacrequestAccessIPMIresetIPMIresetIPMISessiontestIPMIhttptestIPMIpasswordtestIPMIpingvirtualMacAddvirtualMacDelete
lastUpdate
read-only
stringdate-time

last update

needSchedule
read-only
boolean

Whether this task need to be scheduled or not

note
read-only
string

Extra information about this task

plannedInterventionId
read-only
integer

ID of the planned intervention for this task

startDate
read-only
stringdate-time

Task Creation date

status
read-only
TaskStatusEnum

Task status

ValuescancelledcustomerErrordoingdoneinitovhErrortodo
tags
read-only
SafeKeyValueCanBeNull_string[]

Task result tags output

taskId
read-only
integer

the id of the task

ticketReference
read-only
string

Reference of the thread on the support tool

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/ipMove \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "changeUuid": "string", "comment": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "INFRA_002_VirtualNetworkInterface", "lastUpdate": "2024-01-01T12:00:00Z", "needSchedule": true, "note": "string", "plannedInterventionId": 0, "startDate": "2024-01-01T12:00:00Z", "status": "cancelled", "tags": [ { "key": "string", "value": "string" } ], "taskId": 0, "ticketReference": "string"}

Merge a split IP blockProduction

POST
/1.0/dedicated/server/{serviceName}/ipBlockMerge

Merge a split IP block. Merges a split IP block and routes it to the server. This operation cannot be undone. Returns the task that performs the merge.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Request body (required)

block
required
ipBlock

The splitted block you want to merge

Response

200Tasksuccessful operation
changeUuid
read-only
string

UUID of the change linked to this task

comment
read-only
string

Details of this task

doneDate
read-only
stringdate-time

Completion date

function
read-only
TaskFunctionEnum

Function name

ValuesINFRA_002_VirtualNetworkInterfaceINFRA_002_VirtualNetworkInterface_groupINFRA_002_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_VirtualNetworkInterface_ungroupaddVirtualMacaddWindowSplaFromExistingSerialapplyBackupFtpAclsapplyBackupFtpQuotabypassAntiDDosGamechangePasswordBackupFTPchangeRipeOrgcheckAndReleaseIpcreateBackupFTPcreateOrUpdateRipeOrgcreatePrivateNetworkdisableFirewallenableFirewallgenericMoveFloatingIphardReboothardware_updateipmi/configureSGXmigrateBackupFTPmoveFloatingIpmoveVirtualMacreagregateBlockrebootPower8ToreinstallServerreleaseIpremoveBackupFTPremoveVirtualMacrequestAccessIPMIresetIPMIresetIPMISessiontestIPMIhttptestIPMIpasswordtestIPMIpingvirtualMacAddvirtualMacDelete
lastUpdate
read-only
stringdate-time

last update

needSchedule
read-only
boolean

Whether this task need to be scheduled or not

note
read-only
string

Extra information about this task

plannedInterventionId
read-only
integer

ID of the planned intervention for this task

startDate
read-only
stringdate-time

Task Creation date

status
read-only
TaskStatusEnum

Task status

ValuescancelledcustomerErrordoingdoneinitovhErrortodo
tags
read-only
SafeKeyValueCanBeNull_string[]

Task result tags output

taskId
read-only
integer

the id of the task

ticketReference
read-only
string

Reference of the thread on the support tool

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/ipBlockMerge \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "changeUuid": "string", "comment": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "INFRA_002_VirtualNetworkInterface", "lastUpdate": "2024-01-01T12:00:00Z", "needSchedule": true, "note": "string", "plannedInterventionId": 0, "startDate": "2024-01-01T12:00:00Z", "status": "cancelled", "tags": [ { "key": "string", "value": "string" } ], "taskId": 0, "ticketReference": "string"}

Check if an IP can be movedProduction

GET
/1.0/dedicated/server/{serviceName}/ipCanBeMovedTo

Check if an IP can be moved. Checks whether the given IP block can be moved to the server. The response has no content when the move is possible, and an error otherwise.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Query parameters

ip
required
ipBlock

The ip to move to this server

Response

200—successful operation

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/ipCanBeMovedTo \
  -H "authorization: Bearer $OVH_TOKEN"

List available IP countriesProduction

GET
/1.0/dedicated/server/{serviceName}/ipCountryAvailable

List available IP countries. Returns the countries in which an IP can be ordered for the server. Each value is a country code, for example fr, de or us.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Response

200IpCountryEnum[]successful operation

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/ipCountryAvailable \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "au"]

List virtual MACsProduction

GET
/1.0/dedicated/server/{serviceName}/virtualMac

List virtual MACs. Returns the virtual MAC addresses of the server. Each virtual MAC is associated with one or more IP addresses.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Response

200string[]successful operation

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/virtualMac \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "string"]

Create a virtual MACProduction

POST
/1.0/dedicated/server/{serviceName}/virtualMac

Create a virtual MAC. Creates a virtual MAC address of type ovh or vmware and links it to an IP address. The virtualMachineName parameter is a friendly name for the virtual machine behind this IP. Returns a task.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Request body (required)

ipAddress
required
ipv4

Ip address to link with this virtualMac

type
required
VmacTypeEnum

vmac address type

Valuesovhvmware
virtualMachineName
required
string

Friendly name of your Virtual Machine behind this IP/MAC

Response

200Tasksuccessful operation
changeUuid
read-only
string

UUID of the change linked to this task

comment
read-only
string

Details of this task

doneDate
read-only
stringdate-time

Completion date

function
read-only
TaskFunctionEnum

Function name

ValuesINFRA_002_VirtualNetworkInterfaceINFRA_002_VirtualNetworkInterface_groupINFRA_002_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_VirtualNetworkInterface_ungroupaddVirtualMacaddWindowSplaFromExistingSerialapplyBackupFtpAclsapplyBackupFtpQuotabypassAntiDDosGamechangePasswordBackupFTPchangeRipeOrgcheckAndReleaseIpcreateBackupFTPcreateOrUpdateRipeOrgcreatePrivateNetworkdisableFirewallenableFirewallgenericMoveFloatingIphardReboothardware_updateipmi/configureSGXmigrateBackupFTPmoveFloatingIpmoveVirtualMacreagregateBlockrebootPower8ToreinstallServerreleaseIpremoveBackupFTPremoveVirtualMacrequestAccessIPMIresetIPMIresetIPMISessiontestIPMIhttptestIPMIpasswordtestIPMIpingvirtualMacAddvirtualMacDelete
lastUpdate
read-only
stringdate-time

last update

needSchedule
read-only
boolean

Whether this task need to be scheduled or not

note
read-only
string

Extra information about this task

plannedInterventionId
read-only
integer

ID of the planned intervention for this task

startDate
read-only
stringdate-time

Task Creation date

status
read-only
TaskStatusEnum

Task status

ValuescancelledcustomerErrordoingdoneinitovhErrortodo
tags
read-only
SafeKeyValueCanBeNull_string[]

Task result tags output

taskId
read-only
integer

the id of the task

ticketReference
read-only
string

Reference of the thread on the support tool

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/virtualMac \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "changeUuid": "string", "comment": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "INFRA_002_VirtualNetworkInterface", "lastUpdate": "2024-01-01T12:00:00Z", "needSchedule": true, "note": "string", "plannedInterventionId": 0, "startDate": "2024-01-01T12:00:00Z", "status": "cancelled", "tags": [ { "key": "string", "value": "string" } ], "taskId": 0, "ticketReference": "string"}

Get a virtual MACProduction

GET
/1.0/dedicated/server/{serviceName}/virtualMac/{macAddress}

Get a virtual MAC. Returns the virtual MAC address, in 00:00:00:00:00:00 format, and its type: ovh or vmware.

Path parameters

macAddress
required
string

Virtual MAC address in 00:00:00:00:00:00 format

serviceName
required
string

The internal name of your dedicated server

Response

200VirtualMacsuccessful operation
macAddress
read-only
string

Virtual MAC address in 00:00:00:00:00:00 format

type
read-only
VmacTypeEnum

Virtual MAC address type

Valuesovhvmware

Example uses macAddress = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/virtualMac/{macAddress} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "macAddress": "string", "type": "ovh"}

List IPs of a virtual MACProduction

GET
/1.0/dedicated/server/{serviceName}/virtualMac/{macAddress}/virtualAddress

List IPs of a virtual MAC. Returns the IPv4 addresses associated with the virtual MAC. A virtual MAC can be associated with one or more IPs.

Path parameters

macAddress
required
string

Virtual MAC address in 00:00:00:00:00:00 format

serviceName
required
string

The internal name of your dedicated server

Response

200ipv4[]successful operation

Example uses macAddress = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/virtualMac/{macAddress}/virtualAddress \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "192.0.2.0"]

Add an IP to a virtual MACProduction

POST
/1.0/dedicated/server/{serviceName}/virtualMac/{macAddress}/virtualAddress

Add an IP to a virtual MAC. Associates an IPv4 address with the virtual MAC, with a friendly name for the virtual machine behind it. Returns a task.

Path parameters

macAddress
required
string

Virtual MAC address in 00:00:00:00:00:00 format

serviceName
required
string

The internal name of your dedicated server

Request body (required)

ipAddress
required
ipv4

IP address to link to this virtual MAC

virtualMachineName
required
string

Friendly name of your Virtual Machine behind this IP/MAC

Response

200Tasksuccessful operation
changeUuid
read-only
string

UUID of the change linked to this task

comment
read-only
string

Details of this task

doneDate
read-only
stringdate-time

Completion date

function
read-only
TaskFunctionEnum

Function name

ValuesINFRA_002_VirtualNetworkInterfaceINFRA_002_VirtualNetworkInterface_groupINFRA_002_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_VirtualNetworkInterface_ungroupaddVirtualMacaddWindowSplaFromExistingSerialapplyBackupFtpAclsapplyBackupFtpQuotabypassAntiDDosGamechangePasswordBackupFTPchangeRipeOrgcheckAndReleaseIpcreateBackupFTPcreateOrUpdateRipeOrgcreatePrivateNetworkdisableFirewallenableFirewallgenericMoveFloatingIphardReboothardware_updateipmi/configureSGXmigrateBackupFTPmoveFloatingIpmoveVirtualMacreagregateBlockrebootPower8ToreinstallServerreleaseIpremoveBackupFTPremoveVirtualMacrequestAccessIPMIresetIPMIresetIPMISessiontestIPMIhttptestIPMIpasswordtestIPMIpingvirtualMacAddvirtualMacDelete
lastUpdate
read-only
stringdate-time

last update

needSchedule
read-only
boolean

Whether this task need to be scheduled or not

note
read-only
string

Extra information about this task

plannedInterventionId
read-only
integer

ID of the planned intervention for this task

startDate
read-only
stringdate-time

Task Creation date

status
read-only
TaskStatusEnum

Task status

ValuescancelledcustomerErrordoingdoneinitovhErrortodo
tags
read-only
SafeKeyValueCanBeNull_string[]

Task result tags output

taskId
read-only
integer

the id of the task

ticketReference
read-only
string

Reference of the thread on the support tool

Example uses macAddress = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/virtualMac/{macAddress}/virtualAddress \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "changeUuid": "string", "comment": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "INFRA_002_VirtualNetworkInterface", "lastUpdate": "2024-01-01T12:00:00Z", "needSchedule": true, "note": "string", "plannedInterventionId": 0, "startDate": "2024-01-01T12:00:00Z", "status": "cancelled", "tags": [ { "key": "string", "value": "string" } ], "taskId": 0, "ticketReference": "string"}

Get an IP of a virtual MACProduction

GET
/1.0/dedicated/server/{serviceName}/virtualMac/{macAddress}/virtualAddress/{ipAddress}

Get an IP of a virtual MAC. Returns an IPv4 address associated with the virtual MAC and the friendly name of the virtual machine behind it.

Path parameters

ipAddress
required
ipv4

IP address

macAddress
required
string

Virtual MAC address in 00:00:00:00:00:00 format

serviceName
required
string

The internal name of your dedicated server

Response

200VirtualMacManagementsuccessful operation
ipAddress
read-only
ipv4

IP address

virtualMachineName
read-only
string

Friendly name of your Virtual Machine behind this IP/MAC

Example uses ipAddress = 192.0.2.0, macAddress = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/virtualMac/{macAddress}/virtualAddress/{ipAddress} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "ipAddress": "192.0.2.0", "virtualMachineName": "string"}

Remove an IP from a virtual MACProduction

DELETE
/1.0/dedicated/server/{serviceName}/virtualMac/{macAddress}/virtualAddress/{ipAddress}

Remove an IP from a virtual MAC. Removes the IPv4 address from the virtual MAC and returns a task. Removing the last linked IP also deletes the virtual MAC.

Path parameters

ipAddress
required
ipv4

IP address

macAddress
required
string

Virtual MAC address in 00:00:00:00:00:00 format

serviceName
required
string

The internal name of your dedicated server

Response

200Tasksuccessful operation
changeUuid
read-only
string

UUID of the change linked to this task

comment
read-only
string

Details of this task

doneDate
read-only
stringdate-time

Completion date

function
read-only
TaskFunctionEnum

Function name

ValuesINFRA_002_VirtualNetworkInterfaceINFRA_002_VirtualNetworkInterface_groupINFRA_002_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_VirtualNetworkInterface_ungroupaddVirtualMacaddWindowSplaFromExistingSerialapplyBackupFtpAclsapplyBackupFtpQuotabypassAntiDDosGamechangePasswordBackupFTPchangeRipeOrgcheckAndReleaseIpcreateBackupFTPcreateOrUpdateRipeOrgcreatePrivateNetworkdisableFirewallenableFirewallgenericMoveFloatingIphardReboothardware_updateipmi/configureSGXmigrateBackupFTPmoveFloatingIpmoveVirtualMacreagregateBlockrebootPower8ToreinstallServerreleaseIpremoveBackupFTPremoveVirtualMacrequestAccessIPMIresetIPMIresetIPMISessiontestIPMIhttptestIPMIpasswordtestIPMIpingvirtualMacAddvirtualMacDelete
lastUpdate
read-only
stringdate-time

last update

needSchedule
read-only
boolean

Whether this task need to be scheduled or not

note
read-only
string

Extra information about this task

plannedInterventionId
read-only
integer

ID of the planned intervention for this task

startDate
read-only
stringdate-time

Task Creation date

status
read-only
TaskStatusEnum

Task status

ValuescancelledcustomerErrordoingdoneinitovhErrortodo
tags
read-only
SafeKeyValueCanBeNull_string[]

Task result tags output

taskId
read-only
integer

the id of the task

ticketReference
read-only
string

Reference of the thread on the support tool

Example uses ipAddress = 192.0.2.0, macAddress = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/virtualMac/{macAddress}/virtualAddress/{ipAddress} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "changeUuid": "string", "comment": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "INFRA_002_VirtualNetworkInterface", "lastUpdate": "2024-01-01T12:00:00Z", "needSchedule": true, "note": "string", "plannedInterventionId": 0, "startDate": "2024-01-01T12:00:00Z", "status": "cancelled", "tags": [ { "key": "string", "value": "string" } ], "taskId": 0, "ticketReference": "string"}

Aggregate network interfacesBeta

POST
/1.0/dedicated/server/{serviceName}/ola/aggregation

Aggregate network interfaces. Groups virtual network interfaces into one link aggregation, under the given name. Returns a task.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Request body (required)

name
required
string

Resulting VirtualNetworkInterface name

virtualNetworkInterfaces
required
string[]uuid

Interfaces to aggregate

Response

200Tasksuccessful operation
changeUuid
read-only
string

UUID of the change linked to this task

comment
read-only
string

Details of this task

doneDate
read-only
stringdate-time

Completion date

function
read-only
TaskFunctionEnum

Function name

ValuesINFRA_002_VirtualNetworkInterfaceINFRA_002_VirtualNetworkInterface_groupINFRA_002_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_VirtualNetworkInterface_ungroupaddVirtualMacaddWindowSplaFromExistingSerialapplyBackupFtpAclsapplyBackupFtpQuotabypassAntiDDosGamechangePasswordBackupFTPchangeRipeOrgcheckAndReleaseIpcreateBackupFTPcreateOrUpdateRipeOrgcreatePrivateNetworkdisableFirewallenableFirewallgenericMoveFloatingIphardReboothardware_updateipmi/configureSGXmigrateBackupFTPmoveFloatingIpmoveVirtualMacreagregateBlockrebootPower8ToreinstallServerreleaseIpremoveBackupFTPremoveVirtualMacrequestAccessIPMIresetIPMIresetIPMISessiontestIPMIhttptestIPMIpasswordtestIPMIpingvirtualMacAddvirtualMacDelete
lastUpdate
read-only
stringdate-time

last update

needSchedule
read-only
boolean

Whether this task need to be scheduled or not

note
read-only
string

Extra information about this task

plannedInterventionId
read-only
integer

ID of the planned intervention for this task

startDate
read-only
stringdate-time

Task Creation date

status
read-only
TaskStatusEnum

Task status

ValuescancelledcustomerErrordoingdoneinitovhErrortodo
tags
read-only
SafeKeyValueCanBeNull_string[]

Task result tags output

taskId
read-only
integer

the id of the task

ticketReference
read-only
string

Reference of the thread on the support tool

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/ola/aggregation \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "changeUuid": "string", "comment": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "INFRA_002_VirtualNetworkInterface", "lastUpdate": "2024-01-01T12:00:00Z", "needSchedule": true, "note": "string", "plannedInterventionId": 0, "startDate": "2024-01-01T12:00:00Z", "status": "cancelled", "tags": [ { "key": "string", "value": "string" } ], "taskId": 0, "ticketReference": "string"}

Group network interfacesDeprecated

POST
/1.0/dedicated/server/{serviceName}/ola/group

Deprecated since Jan 7, 2021, will be removed on Apr 7, 2021 — use /dedicated/server/{serviceName}/ola/aggregation instead.

Group network interfaces. Groups virtual network interfaces into one link aggregation, under the given name. Deprecated: use /dedicated/server/{serviceName}/ola/aggregation instead.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Request body (required)

name
required
string

Resulting VirtualNetworkInterface name

virtualNetworkInterfaces
required
string[]uuid

Interfaces to aggregate

Response

200Tasksuccessful operation
changeUuid
read-only
string

UUID of the change linked to this task

comment
read-only
string

Details of this task

doneDate
read-only
stringdate-time

Completion date

function
read-only
TaskFunctionEnum

Function name

ValuesINFRA_002_VirtualNetworkInterfaceINFRA_002_VirtualNetworkInterface_groupINFRA_002_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_VirtualNetworkInterface_ungroupaddVirtualMacaddWindowSplaFromExistingSerialapplyBackupFtpAclsapplyBackupFtpQuotabypassAntiDDosGamechangePasswordBackupFTPchangeRipeOrgcheckAndReleaseIpcreateBackupFTPcreateOrUpdateRipeOrgcreatePrivateNetworkdisableFirewallenableFirewallgenericMoveFloatingIphardReboothardware_updateipmi/configureSGXmigrateBackupFTPmoveFloatingIpmoveVirtualMacreagregateBlockrebootPower8ToreinstallServerreleaseIpremoveBackupFTPremoveVirtualMacrequestAccessIPMIresetIPMIresetIPMISessiontestIPMIhttptestIPMIpasswordtestIPMIpingvirtualMacAddvirtualMacDelete
lastUpdate
read-only
stringdate-time

last update

needSchedule
read-only
boolean

Whether this task need to be scheduled or not

note
read-only
string

Extra information about this task

plannedInterventionId
read-only
integer

ID of the planned intervention for this task

startDate
read-only
stringdate-time

Task Creation date

status
read-only
TaskStatusEnum

Task status

ValuescancelledcustomerErrordoingdoneinitovhErrortodo
tags
read-only
SafeKeyValueCanBeNull_string[]

Task result tags output

taskId
read-only
integer

the id of the task

ticketReference
read-only
string

Reference of the thread on the support tool

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/ola/group \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "changeUuid": "string", "comment": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "INFRA_002_VirtualNetworkInterface", "lastUpdate": "2024-01-01T12:00:00Z", "needSchedule": true, "note": "string", "plannedInterventionId": 0, "startDate": "2024-01-01T12:00:00Z", "status": "cancelled", "tags": [ { "key": "string", "value": "string" } ], "taskId": 0, "ticketReference": "string"}

Reset a network interfaceBeta

POST
/1.0/dedicated/server/{serviceName}/ola/reset

Reset a network interface. Resets a virtual network interface to its default configuration. Returns a task.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Request body (required)

virtualNetworkInterface
required
stringuuid

Interface to reset

Response

200Tasksuccessful operation
changeUuid
read-only
string

UUID of the change linked to this task

comment
read-only
string

Details of this task

doneDate
read-only
stringdate-time

Completion date

function
read-only
TaskFunctionEnum

Function name

ValuesINFRA_002_VirtualNetworkInterfaceINFRA_002_VirtualNetworkInterface_groupINFRA_002_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_VirtualNetworkInterface_ungroupaddVirtualMacaddWindowSplaFromExistingSerialapplyBackupFtpAclsapplyBackupFtpQuotabypassAntiDDosGamechangePasswordBackupFTPchangeRipeOrgcheckAndReleaseIpcreateBackupFTPcreateOrUpdateRipeOrgcreatePrivateNetworkdisableFirewallenableFirewallgenericMoveFloatingIphardReboothardware_updateipmi/configureSGXmigrateBackupFTPmoveFloatingIpmoveVirtualMacreagregateBlockrebootPower8ToreinstallServerreleaseIpremoveBackupFTPremoveVirtualMacrequestAccessIPMIresetIPMIresetIPMISessiontestIPMIhttptestIPMIpasswordtestIPMIpingvirtualMacAddvirtualMacDelete
lastUpdate
read-only
stringdate-time

last update

needSchedule
read-only
boolean

Whether this task need to be scheduled or not

note
read-only
string

Extra information about this task

plannedInterventionId
read-only
integer

ID of the planned intervention for this task

startDate
read-only
stringdate-time

Task Creation date

status
read-only
TaskStatusEnum

Task status

ValuescancelledcustomerErrordoingdoneinitovhErrortodo
tags
read-only
SafeKeyValueCanBeNull_string[]

Task result tags output

taskId
read-only
integer

the id of the task

ticketReference
read-only
string

Reference of the thread on the support tool

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/ola/reset \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "changeUuid": "string", "comment": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "INFRA_002_VirtualNetworkInterface", "lastUpdate": "2024-01-01T12:00:00Z", "needSchedule": true, "note": "string", "plannedInterventionId": 0, "startDate": "2024-01-01T12:00:00Z", "status": "cancelled", "tags": [ { "key": "string", "value": "string" } ], "taskId": 0, "ticketReference": "string"}

Ungroup a network interfaceDeprecated

POST
/1.0/dedicated/server/{serviceName}/ola/ungroup

Deprecated since Jan 7, 2021, will be removed on Apr 7, 2021 — use /dedicated/server/{serviceName}/ola/reset instead.

Ungroup a network interface. Ungroups a virtual network interface and returns a list of tasks. Deprecated: use /dedicated/server/{serviceName}/ola/reset instead.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Request body (required)

virtualNetworkInterface
required
stringuuid

Interface to ungroup

Response

200Task[]successful operation
changeUuid
read-only
string

UUID of the change linked to this task

comment
read-only
string

Details of this task

doneDate
read-only
stringdate-time

Completion date

function
read-only
TaskFunctionEnum

Function name

ValuesINFRA_002_VirtualNetworkInterfaceINFRA_002_VirtualNetworkInterface_groupINFRA_002_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_VirtualNetworkInterface_ungroupaddVirtualMacaddWindowSplaFromExistingSerialapplyBackupFtpAclsapplyBackupFtpQuotabypassAntiDDosGamechangePasswordBackupFTPchangeRipeOrgcheckAndReleaseIpcreateBackupFTPcreateOrUpdateRipeOrgcreatePrivateNetworkdisableFirewallenableFirewallgenericMoveFloatingIphardReboothardware_updateipmi/configureSGXmigrateBackupFTPmoveFloatingIpmoveVirtualMacreagregateBlockrebootPower8ToreinstallServerreleaseIpremoveBackupFTPremoveVirtualMacrequestAccessIPMIresetIPMIresetIPMISessiontestIPMIhttptestIPMIpasswordtestIPMIpingvirtualMacAddvirtualMacDelete
lastUpdate
read-only
stringdate-time

last update

needSchedule
read-only
boolean

Whether this task need to be scheduled or not

note
read-only
string

Extra information about this task

plannedInterventionId
read-only
integer

ID of the planned intervention for this task

startDate
read-only
stringdate-time

Task Creation date

status
read-only
TaskStatusEnum

Task status

ValuescancelledcustomerErrordoingdoneinitovhErrortodo
tags
read-only
SafeKeyValueCanBeNull_string[]

Task result tags output

taskId
read-only
integer

the id of the task

ticketReference
read-only
string

Reference of the thread on the support tool

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/ola/ungroup \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ { "changeUuid": "string", "comment": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "INFRA_002_VirtualNetworkInterface", "lastUpdate": "2024-01-01T12:00:00Z", "needSchedule": true, "note": "string", "plannedInterventionId": 0, "startDate": "2024-01-01T12:00:00Z", "status": "cancelled", "tags": [ { "key": "string", "value": "string" } ], "taskId": 0, "ticketReference": "string" }]

List network interface controllersBeta

GET
/1.0/dedicated/server/{serviceName}/networkInterfaceController

List network interface controllers. Returns the MAC addresses of the network interface controllers of the server. Filter them by link type with the linkType parameter.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Query parameters

linkType
NetworkInterfaceControllerLinkTypeEnum

Filter the value of linkType property (=)

Valuesisolatedprivateprivate_lagprovisioningprovisioning_lagpublicpublic_lag

Response

200macAddress[]successful operation

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/networkInterfaceController \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "00:00:5e:00:53:01"]

Get a network interface controllerBeta

GET
/1.0/dedicated/server/{serviceName}/networkInterfaceController/{mac}

Get a network interface controller. Returns the MAC address of a network interface controller, its link type, such as public, private or isolated, and the virtual network interface bound to it.

Path parameters

mac
required
macAddress

NetworkInterfaceController mac

serviceName
required
string

The internal name of your dedicated server

Response

200NetworkInterfaceControllersuccessful operation
linkType
read-only
NetworkInterfaceControllerLinkTypeEnum

NetworkInterfaceController linkType

Valuesisolatedprivateprivate_lagprovisioningprovisioning_lagpublicpublic_lag
mac
read-only
macAddress

NetworkInterfaceController mac

virtualNetworkInterface
read-only
stringuuid

VirtualNetworkInterface bound to this NetworkInterfaceController

Example uses mac = 00:00:5e:00:53:01, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/networkInterfaceController/{mac} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "linkType": "isolated", "mac": "00:00:5e:00:53:01", "virtualNetworkInterface": "00000000-0000-0000-0000-000000000000"}

Get interface traffic statisticsBeta

GET
/1.0/dedicated/server/{serviceName}/networkInterfaceController/{mac}/mrtg

Get interface traffic statistics. Returns timestamped values for one network interface controller, for the requested type and period. Types cover traffic, packets and errors, for download and upload.

Path parameters

mac
required
macAddress

NetworkInterfaceController mac

serviceName
required
string

The internal name of your dedicated server

Query parameters

period
required
MrtgPeriodEnum

mrtg period

Valuesdailyhourlymonthlyweeklyyearly
type
required
MrtgTypeEnum

mrtg type

Valueserrors:downloaderrors:uploadpackets:downloadpackets:uploadtraffic:downloadtraffic:upload

Response

200MrtgTimestampValue[]successful operation
timestamp
integer
—
value
UnitAndValue_double

A numeric value tagged with its unit

Example uses mac = 00:00:5e:00:53:01, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/networkInterfaceController/{mac}/mrtg \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ { "timestamp": 0, "value": { "unit": "string", "value": 0 } }]

Get a virtual network interfaceProduction

GET
/1.0/dedicated/server/virtualNetworkInterface/{uuid}

Returns a virtual network interface from its UUID alone, without the server name in the path. The response includes the server it is bound to, its mode, its vRack and its network interface controllers.

Path parameters

uuid
required
stringuuid

Uuid

Response

200VirtualNetworkInterfacesuccessful operation
enabled
read-only
boolean

VirtualNetworkInterface activation state

mode
read-only
VirtualNetworkInterfaceModeEnum

Available VirtualNetworkInterface modes

Valuespublicpublic_aggregationvrackvrack_aggregation
name
read-only
string

User defined VirtualNetworkInterface name

networkInterfaceController
read-only
string[]

NetworkInterfaceControllers bound to this VirtualNetworkInterface

serverName
read-only
string

Server bound to this VirtualNetworkInterface

uuid
read-only
stringuuid

VirtualNetworkInterface unique id

vrack
read-only
string

vRack name

Example uses uuid = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/virtualNetworkInterface/{uuid} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "enabled": true, "mode": "public", "name": "string", "networkInterfaceController": [ "string" ], "serverName": "string", "uuid": "00000000-0000-0000-0000-000000000000", "vrack": "string"}

List virtual network interfacesBeta

GET
/1.0/dedicated/server/{serviceName}/virtualNetworkInterface

List virtual network interfaces. Returns the UUIDs of the virtual network interfaces of the server. Filter them by enabled, mode, vrack or name.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Query parameters

enabled
boolean

Filter the value of enabled property (=)

mode
VirtualNetworkInterfaceModeEnum

Filter the value of mode property (=)

Valuespublicpublic_aggregationvrackvrack_aggregation
name
string

Filter the value of name property (=)

vrack
string

Filter the value of vrack property (=)

Response

200string[]successful operation

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/virtualNetworkInterface \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "00000000-0000-0000-0000-000000000000"]

Get a virtual network interfaceBeta

GET
/1.0/dedicated/server/{serviceName}/virtualNetworkInterface/{uuid}

Get a virtual network interface. Returns the name, mode, activation state and vRack of a virtual network interface, and the network interface controllers bound to it.

Path parameters

serviceName
required
string

The internal name of your dedicated server

uuid
required
stringuuid

VirtualNetworkInterface unique id

Response

200VirtualNetworkInterfacesuccessful operation
enabled
read-only
boolean

VirtualNetworkInterface activation state

mode
VirtualNetworkInterfaceModeEnum

VirtualNetworkInterface mode

Valuespublicpublic_aggregationvrackvrack_aggregation
name
string

User defined VirtualNetworkInterface name

networkInterfaceController
read-only
macAddress[]

NetworkInterfaceControllers bound to this VirtualNetworkInterface

serverName
read-only
string

Server bound to this VirtualNetworkInterface

uuid
read-only
stringuuid

VirtualNetworkInterface unique id

vrack
read-only
string

vRack name

Example uses serviceName = string, uuid = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/virtualNetworkInterface/{uuid} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "enabled": true, "mode": "public", "name": "string", "networkInterfaceController": [ "00:00:5e:00:53:01" ], "serverName": "string", "uuid": "00000000-0000-0000-0000-000000000000", "vrack": "string"}

Update a virtual network interfaceDeprecated

PUT
/1.0/dedicated/server/{serviceName}/virtualNetworkInterface/{uuid}

Deprecated since Jan 7, 2021, will be removed on Apr 7, 2021 — use /dedicated/server/{serviceName}/ola/aggregation instead.

Update a virtual network interface. Updates the name or the mode of a virtual network interface. Deprecated: use /dedicated/server/{serviceName}/ola/aggregation instead.

Path parameters

serviceName
required
string

The internal name of your dedicated server

uuid
required
stringuuid

VirtualNetworkInterface unique id

Request body (required)

enabled
read-only
boolean

VirtualNetworkInterface activation state

mode
VirtualNetworkInterfaceModeEnum

VirtualNetworkInterface mode

Valuespublicpublic_aggregationvrackvrack_aggregation
name
string

User defined VirtualNetworkInterface name

networkInterfaceController
read-only
macAddress[]

NetworkInterfaceControllers bound to this VirtualNetworkInterface

serverName
read-only
string

Server bound to this VirtualNetworkInterface

uuid
read-only
stringuuid

VirtualNetworkInterface unique id

vrack
read-only
string

vRack name

Response

200—successful operation

Example uses serviceName = string, uuid = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/virtualNetworkInterface/{uuid} \
  -H "authorization: Bearer $OVH_TOKEN"

Disable a virtual network interfaceDeprecated

POST
/1.0/dedicated/server/{serviceName}/virtualNetworkInterface/{uuid}/disable

Deprecated since Jan 7, 2021, will be removed on Apr 7, 2021 — use /dedicated/server/{serviceName}/ola/aggregation instead.

Disable a virtual network interface. Disables the virtual network interface and returns a task. Deprecated: use /dedicated/server/{serviceName}/ola/aggregation instead.

Path parameters

serviceName
required
string

The internal name of your dedicated server

uuid
required
stringuuid

VirtualNetworkInterface unique id

Response

200Tasksuccessful operation
changeUuid
read-only
string

UUID of the change linked to this task

comment
read-only
string

Details of this task

doneDate
read-only
stringdate-time

Completion date

function
read-only
TaskFunctionEnum

Function name

ValuesINFRA_002_VirtualNetworkInterfaceINFRA_002_VirtualNetworkInterface_groupINFRA_002_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_VirtualNetworkInterface_ungroupaddVirtualMacaddWindowSplaFromExistingSerialapplyBackupFtpAclsapplyBackupFtpQuotabypassAntiDDosGamechangePasswordBackupFTPchangeRipeOrgcheckAndReleaseIpcreateBackupFTPcreateOrUpdateRipeOrgcreatePrivateNetworkdisableFirewallenableFirewallgenericMoveFloatingIphardReboothardware_updateipmi/configureSGXmigrateBackupFTPmoveFloatingIpmoveVirtualMacreagregateBlockrebootPower8ToreinstallServerreleaseIpremoveBackupFTPremoveVirtualMacrequestAccessIPMIresetIPMIresetIPMISessiontestIPMIhttptestIPMIpasswordtestIPMIpingvirtualMacAddvirtualMacDelete
lastUpdate
read-only
stringdate-time

last update

needSchedule
read-only
boolean

Whether this task need to be scheduled or not

note
read-only
string

Extra information about this task

plannedInterventionId
read-only
integer

ID of the planned intervention for this task

startDate
read-only
stringdate-time

Task Creation date

status
read-only
TaskStatusEnum

Task status

ValuescancelledcustomerErrordoingdoneinitovhErrortodo
tags
read-only
SafeKeyValueCanBeNull_string[]

Task result tags output

taskId
read-only
integer

the id of the task

ticketReference
read-only
string

Reference of the thread on the support tool

Example uses serviceName = string, uuid = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/virtualNetworkInterface/{uuid}/disable \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "changeUuid": "string", "comment": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "INFRA_002_VirtualNetworkInterface", "lastUpdate": "2024-01-01T12:00:00Z", "needSchedule": true, "note": "string", "plannedInterventionId": 0, "startDate": "2024-01-01T12:00:00Z", "status": "cancelled", "tags": [ { "key": "string", "value": "string" } ], "taskId": 0, "ticketReference": "string"}

Enable a virtual network interfaceDeprecated

POST
/1.0/dedicated/server/{serviceName}/virtualNetworkInterface/{uuid}/enable

Deprecated since Jan 7, 2021, will be removed on Apr 7, 2021 — use /dedicated/server/{serviceName}/ola/aggregation instead.

Enable a virtual network interface. Enables the virtual network interface and returns a task. Deprecated: use /dedicated/server/{serviceName}/ola/aggregation instead.

Path parameters

serviceName
required
string

The internal name of your dedicated server

uuid
required
stringuuid

VirtualNetworkInterface unique id

Response

200Tasksuccessful operation
changeUuid
read-only
string

UUID of the change linked to this task

comment
read-only
string

Details of this task

doneDate
read-only
stringdate-time

Completion date

function
read-only
TaskFunctionEnum

Function name

ValuesINFRA_002_VirtualNetworkInterfaceINFRA_002_VirtualNetworkInterface_groupINFRA_002_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_ONEAPI_VirtualNetworkInterface_ungroupINFRA_ONE_NETWORK_VirtualNetworkInterface_groupINFRA_ONE_NETWORK_VirtualNetworkInterface_ungroupaddVirtualMacaddWindowSplaFromExistingSerialapplyBackupFtpAclsapplyBackupFtpQuotabypassAntiDDosGamechangePasswordBackupFTPchangeRipeOrgcheckAndReleaseIpcreateBackupFTPcreateOrUpdateRipeOrgcreatePrivateNetworkdisableFirewallenableFirewallgenericMoveFloatingIphardReboothardware_updateipmi/configureSGXmigrateBackupFTPmoveFloatingIpmoveVirtualMacreagregateBlockrebootPower8ToreinstallServerreleaseIpremoveBackupFTPremoveVirtualMacrequestAccessIPMIresetIPMIresetIPMISessiontestIPMIhttptestIPMIpasswordtestIPMIpingvirtualMacAddvirtualMacDelete
lastUpdate
read-only
stringdate-time

last update

needSchedule
read-only
boolean

Whether this task need to be scheduled or not

note
read-only
string

Extra information about this task

plannedInterventionId
read-only
integer

ID of the planned intervention for this task

startDate
read-only
stringdate-time

Task Creation date

status
read-only
TaskStatusEnum

Task status

ValuescancelledcustomerErrordoingdoneinitovhErrortodo
tags
read-only
SafeKeyValueCanBeNull_string[]

Task result tags output

taskId
read-only
integer

the id of the task

ticketReference
read-only
string

Reference of the thread on the support tool

Example uses serviceName = string, uuid = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/virtualNetworkInterface/{uuid}/enable \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "changeUuid": "string", "comment": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "INFRA_002_VirtualNetworkInterface", "lastUpdate": "2024-01-01T12:00:00Z", "needSchedule": true, "note": "string", "plannedInterventionId": 0, "startDate": "2024-01-01T12:00:00Z", "status": "cancelled", "tags": [ { "key": "string", "value": "string" } ], "taskId": 0, "ticketReference": "string"}

Get the bandwidth burstProduction

GET
/1.0/dedicated/server/{serviceName}/burst

Get the bandwidth burst. Returns the burst status of the server bandwidth and its burst capacity. The status is active, inactive, or inactiveLocked when burst is temporarily disabled due to overuse.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Response

200ServerBurstsuccessful operation
capacity
read-only
UnitAndValue_long

Bandwidth busrt capacity

status
BurstStatusEnum

indicates whether burstable bandwidth is currently active, allowing it to temporarily exceed the normally included bandwidth.OvhToInternet amount, within the limits indicated by the burst.capacity item. It can also be inactiveLocked when temporarily disabled due to overuse, capping it to the included non-burstable bandwidth capacity of bandwidth.OvhToInternet

ValuesactiveinactiveinactiveLocked

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/burst \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "capacity": { "unit": "string", "value": 0 }, "status": "active"}

Update the bandwidth burstProduction

PUT
/1.0/dedicated/server/{serviceName}/burst

Update the bandwidth burst. Updates the burst status of the server bandwidth. When active, the bandwidth can temporarily exceed the included OvhToInternet amount, within the burst capacity.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Request body (required)

capacity
read-only
UnitAndValue_long

Bandwidth busrt capacity

status
BurstStatusEnum

indicates whether burstable bandwidth is currently active, allowing it to temporarily exceed the normally included bandwidth.OvhToInternet amount, within the limits indicated by the burst.capacity item. It can also be inactiveLocked when temporarily disabled due to overuse, capping it to the included non-burstable bandwidth capacity of bandwidth.OvhToInternet

ValuesactiveinactiveinactiveLocked

Response

200—successful operation

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/burst \
  -H "authorization: Bearer $OVH_TOKEN"

List secondary DNS domainsProduction

GET
/1.0/dedicated/server/{serviceName}/secondaryDnsDomains

List secondary DNS domains. Returns the names of the domains declared on the secondary DNS of the server.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Response

200string[]successful operation

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/secondaryDnsDomains \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "string"]

Create a secondary DNS domainProduction

POST
/1.0/dedicated/server/{serviceName}/secondaryDnsDomains

Create a secondary DNS domain. Adds a domain to the secondary DNS of the server, with its ip, which is required. The domain must first be verified with the TXT record given by secondaryDnsNameDomainToken.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Request body (required)

domain
required
string

The domain to add

ip
ipv4

IPv4 address (e.g., 192.0.2.0)

Response

200—successful operation

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/secondaryDnsDomains \
  -H "authorization: Bearer $OVH_TOKEN"

Get a secondary DNS domainProduction

GET
/1.0/dedicated/server/{serviceName}/secondaryDnsDomains/{domain}

Get a secondary DNS domain. Returns the domain, the secondary DNS server that hosts it, its master IPv4 address and its creation date.

Path parameters

domain
required
string

Domain on slave server

serviceName
required
string

The internal name of your dedicated server

Response

200SecondaryDNSsuccessful operation
creationDate
read-only
stringdate-time
—
dns
read-only
string

Secondary DNS server

domain
read-only
string

Domain on slave server

ipMaster
ipv4

Master IPv4 address

Example uses domain = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/secondaryDnsDomains/{domain} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "creationDate": "2024-01-01T12:00:00Z", "dns": "string", "domain": "string", "ipMaster": "192.0.2.0"}

Delete a secondary DNS domainProduction

DELETE
/1.0/dedicated/server/{serviceName}/secondaryDnsDomains/{domain}

Delete a secondary DNS domain. Removes the domain from the secondary DNS of the server. The call returns no content.

Path parameters

domain
required
string

Domain on slave server

serviceName
required
string

The internal name of your dedicated server

Response

200—successful operation

Example uses domain = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/secondaryDnsDomains/{domain} \
  -H "authorization: Bearer $OVH_TOKEN"

Update a secondary DNS domainProduction

PUT
/1.0/dedicated/server/{serviceName}/secondaryDnsDomains/{domain}

Update a secondary DNS domain. Updates the master IPv4 address targeted by the domain on the secondary DNS. It is the only field that can be changed.

Path parameters

domain
required
string

Domain on slave server

serviceName
required
string

The internal name of your dedicated server

Request body (required)

creationDate
read-only
stringdate-time
—
dns
read-only
string

Secondary DNS server

domain
read-only
string

Domain on slave server

ipMaster
ipv4

Master IPv4 address

Response

200—successful operation

Example uses domain = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/secondaryDnsDomains/{domain} \
  -H "authorization: Bearer $OVH_TOKEN"

Get the domain DNS serverProduction

GET
/1.0/dedicated/server/{serviceName}/secondaryDnsDomains/{domain}/dnsServer

Get the domain DNS server. Returns the secondary DNS server of the domain: its hostname and its IPv4 and IPv6 addresses.

Path parameters

domain
required
string

Domain on slave server

serviceName
required
string

The internal name of your dedicated server

Response

200SecondaryDNSNameServersuccessful operation
hostname
string

the name server

ip
ipv4

IPv4 address (e.g., 192.0.2.0)

ipv6
ipv6

IPv6 address (e.g., 2001:41d0:1:1994::1)

Example uses domain = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/secondaryDnsDomains/{domain}/dnsServer \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "hostname": "string", "ip": "192.0.2.0", "ipv6": "2001:41d0:1:1994::1"}

Get the domain verification recordProduction

GET
/1.0/dedicated/server/{serviceName}/secondaryDnsNameDomainToken

Get the domain verification record. Returns the DNS record to add temporarily to the zone of a domain, so that ownership of the domain can be verified. The record is given as a subdomain, a field type and a field value.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Query parameters

domain
required
string

The domain to check

Response

200SecondaryDNSCheckFieldsuccessful operation
fieldType
NamedResolutionFieldTypeEnum

The field type to add on your DNS zone for this subDomain

ValuesAAAAACAACNAMEDKIMDMARCDNAMELOCMXNAPTRNSPTRSPFSRVSSHFPTLSATXT
fieldValue
string

The field value to add on your DNS zone for this subDomain

subDomain
string

The subdomain to add on your DNS zone for the domain

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/secondaryDnsNameDomainToken \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "fieldType": "A", "fieldValue": "string", "subDomain": "string"}

Get the available secondary name serverProduction

GET
/1.0/dedicated/server/{serviceName}/secondaryDnsNameServerAvailable

Get the available secondary name server. Returns the secondary name server available for the server: its hostname and its IPv4 and IPv6 addresses.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Response

200SecondaryDNSNameServersuccessful operation
hostname
string

the name server

ip
ipv4

IPv4 address (e.g., 192.0.2.0)

ipv6
ipv6

IPv6 address (e.g., 2001:41d0:1:1994::1)

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/secondaryDnsNameServerAvailable \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "hostname": "string", "ip": "192.0.2.0", "ipv6": "2001:41d0:1:1994::1"}

Get the network configurationBeta

GET
/1.0/dedicated/server/{serviceName}/networking

Get the network configuration. Returns the network configuration of the server: its interfaces or interface aggregations, and the status of the current operation, deploying or active.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Response

200Networkingsuccessful operation
description
read-only
string

Operation description

interfaces
read-only
Interfaces[]

Interface or interfaces aggregation

status
read-only
NetworkingOperationEnum

Operation status

Valuesactivedeploying

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/networking \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "description": "string", "interfaces": [ { "aggregationFallback": "00:00:5e:00:53:01", "macs": [ "00:00:5e:00:53:01" ], "type": "public" } ], "status": "active"}

Get server traffic statisticsDeprecated

GET
/1.0/dedicated/server/{serviceName}/mrtg

Deprecated since Oct 22, 2017, will be removed on Apr 22, 2018 — use /dedicated/server/{serviceName}/networkInterfaceController instead.

Get server traffic statistics. Returns timestamped values of the server traffic, packets or errors, for the requested type and period. Deprecated: use /dedicated/server/{serviceName}/networkInterfaceController instead.

Path parameters

serviceName
required
string

The internal name of your dedicated server

Query parameters

period
required
MrtgPeriodEnum

mrtg period

Valuesdailyhourlymonthlyweeklyyearly
type
required
MrtgTypeEnum

mrtg type

Valueserrors:downloaderrors:uploadpackets:downloadpackets:uploadtraffic:downloadtraffic:upload

Response

200MrtgTimestampValue[]successful operation
timestamp
integer
—
value
UnitAndValue_double

A numeric value tagged with its unit

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/1.0/dedicated/server/{serviceName}/mrtg \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ { "timestamp": 0, "value": { "unit": "string", "value": 0 } }]