Skip to content

Services

All operations require authentication.

9 operationsv1/ovhCloudConnect · /ovhCloudConnect/{serviceName}
Agent setup

List servicesProduction

GET
/1.0/ovhCloudConnect

Returns the UUIDs of your OVHcloud Connect services, filterable by IAM tags.

Query parameters

iamTags
object

Filter resources on IAM tags

Response

200string[]successful operation

Reads your token from $OVH_TOKEN

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "00000000-0000-0000-0000-000000000000"]

Get serviceProduction

GET
/1.0/ovhCloudConnect/{serviceName}

Returns the service's provider, PoP, bandwidth, port count, vRack and status.

Path parameters

serviceName
required
stringuuid

Service name

Response

200ServiceWithIAMsuccessful operation
bandwidth
read-only
BandwidthEnum

Service bandwidth

Values100g100m10g1g200m20g2g500m50m5g
description
read-only
string

Service description

family
read-only
string

Service family

iam
read-only
ResourceMetadata

IAM resource metadata

interfaceList
read-only
integer[]

List of interfaces linked to a service

pop
read-only
string

Pop reference where the service is delivered

portQuantity
read-only
PortEnum

Port quantity

Values12
product
read-only
string

Product name of the service

provider
read-only
ProviderEnum

Service provider

ValuesOVHcloudRISQconsoleconnectdcexpdigitalrealtyedgeequinixfibrenoiregoogleintercloudinternalinterxionmegaportorange
sector
read-only
string

Service sector

status
read-only
StatusEnum

Service status

Valuesactiveclosed
uuid
read-only
stringuuid

Service UUID

vrack
read-only
string

vrack linked to the service

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "bandwidth": "100g", "description": "string", "family": "string", "iam": { "displayName": "string", "id": "00000000-0000-0000-0000-000000000000", "state": "EXPIRED", "tags": { "key": "string" }, "urn": "string" }, "interfaceList": [ 0 ], "pop": "string", "portQuantity": "1", "product": "string", "provider": "OVHcloud", "sector": "string", "status": "active", "uuid": "00000000-0000-0000-0000-000000000000", "vrack": "string"}

Get subscriptionProduction

GET
/1.0/ovhCloudConnect/{serviceName}/serviceInfos

Returns contacts, creation and expiration dates, and renewal settings.

Path parameters

serviceName
required
stringuuid

Service name

Response

200Servicesuccessful operation
canDeleteAtExpiration
read-only
boolean

Indicates that the service can be set up to be deleted at expiration

contactAdmin
read-only
string
—
contactBilling
read-only
string
—
contactTech
read-only
string
—
creation
read-only
stringdate
—
domain
read-only
string
—
engagedUpTo
read-only
stringdate
—
expiration
read-only
stringdate
—
possibleRenewPeriod
read-only
integer[]

All the possible renew period of your service in month

renew
RenewType

Way of handling the renew

renewalType
read-only
RenewalTypeEnum

Detailed renewal type of a service

ValuesautomaticForcedProductautomaticV2012automaticV2014automaticV2016manualoneShotoption
serviceId
read-only
integer
—
status
read-only
StateEnum

service.StateEnum

ValuesautorenewInProgressexpiredinCreationokpendingDebtunPaid

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/serviceInfos \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "canDeleteAtExpiration": true, "contactAdmin": "string", "contactBilling": "string", "contactTech": "string", "creation": "2024-01-01", "domain": "string", "engagedUpTo": "2024-01-01", "expiration": "2024-01-01", "possibleRenewPeriod": [ 0 ], "renew": { "automatic": true, "deleteAtExpiration": true, "forced": true, "manualPayment": true, "period": 0 }, "renewalType": "automaticForcedProduct", "serviceId": 0, "status": "autorenewInProgress"}

Get migrationProduction

GET
/1.0/ovhCloudConnect/{serviceName}/migration

Returns the migration type (repricing or total), product, status and dates.

Path parameters

serviceName
required
stringuuid

Service name

Response

200Migrationsuccessful operation
creationDate
read-only
stringdate-time

Starting date of the migration

doneDate
read-only
stringdate-time

Ending date of the migration

id
read-only
integer

Migration reference

productName
read-only
string

Name of the migration product

serviceId
read-only
integer

ServiceId reference

status
read-only
StatusEnum

Migration status

Valuescancelleddoingdoneerrorpauseproblemtodo
type
read-only
TypeEnum

Type of migration

Valuesrepricingtotal

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/migration \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "creationDate": "2024-01-01T12:00:00Z", "doneDate": "2024-01-01T12:00:00Z", "id": 0, "productName": "string", "serviceId": 0, "status": "cancelled", "type": "repricing"}

Change contactsProduction

POST
/1.0/ovhCloudConnect/{serviceName}/changeContact

Starts the change of the admin, tech or billing contact and returns the request IDs.

Path parameters

serviceName
required
stringuuid

Service name

Request body (required)

contactAdmin
string

The contact to set as admin contact

contactBilling
string

The contact to set as billing contact

contactTech
string

The contact to set as tech contact

Response

200integer[]successful operation

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/changeContact \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ 0]

Request terminationProduction

POST
/1.0/ovhCloudConnect/{serviceName}/terminate

Emails a termination token to the admin contact, to use with Confirm termination.

Path parameters

serviceName
required
stringuuid

Service name

Response

200stringsuccessful operation

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/terminate \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
"string"

Confirm terminationProduction

POST
/1.0/ovhCloudConnect/{serviceName}/confirmTermination

Confirms the termination with the emailed token and records your reason.

Path parameters

serviceName
required
stringuuid

Service name

Request body (required)

commentary
string

Commentary about your termination request

commentaryFutureUse
string

Commentary about your future use

commentaryReason
string

Commentary about your reason for termination request

futureUse
TerminationFutureUseEnum

All future uses you can provide for a service termination

ValuesNOT_REPLACING_SERVICEOTHERSUBSCRIBE_AN_OTHER_SERVICESUBSCRIBE_OTHER_KIND_OF_SERVICE_WITH_COMPETITORSUBSCRIBE_SIMILAR_SERVICE_WITH_COMPETITOR
reason
TerminationReasonEnum

All reasons you can provide for a service termination

ValuesFEATURES_DONT_SUIT_MELACK_OF_PERFORMANCESMIGRATED_TO_ANOTHER_OVH_PRODUCTMIGRATED_TO_COMPETITORNOT_ENOUGH_RECOGNITIONNOT_NEEDED_ANYMORENOT_RELIABLENO_ANSWEROTHERPRODUCT_DIMENSION_DONT_SUIT_MEPRODUCT_TOOLS_DONT_SUIT_METOO_EXPENSIVETOO_HARD_TO_USEUNSATIFIED_BY_CUSTOMER_SUPPORT
token
required
string

The termination token sent by email to the admin contact

Response

200stringsuccessful operation

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/confirmTermination \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
"string"

Update service descriptionProduction

PUT
/1.0/ovhCloudConnect/{serviceName}

Changes the service's free-text description, its only editable field.

Path parameters

serviceName
required
stringuuid

Service name

Request body (required)

description
string

New description for your service

Response

200—successful operation

Example uses serviceName = 00000000-0000-0000-0000-000000000000

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

Update renewal settingsProduction

PUT
/1.0/ovhCloudConnect/{serviceName}/serviceInfos

Changes how the service renews; renew is the only editable field.

Path parameters

serviceName
required
stringuuid

Service name

Request body (required)

canDeleteAtExpiration
read-only
boolean

Indicates that the service can be set up to be deleted at expiration

contactAdmin
read-only
string
—
contactBilling
read-only
string
—
contactTech
read-only
string
—
creation
read-only
stringdate
—
domain
read-only
string
—
engagedUpTo
read-only
stringdate
—
expiration
read-only
stringdate
—
possibleRenewPeriod
read-only
integer[]

All the possible renew period of your service in month

renew
RenewType

Way of handling the renew

renewalType
read-only
RenewalTypeEnum

Detailed renewal type of a service

ValuesautomaticForcedProductautomaticV2012automaticV2014automaticV2016manualoneShotoption
serviceId
read-only
integer
—
status
read-only
StateEnum

service.StateEnum

ValuesautorenewInProgressexpiredinCreationokpendingDebtunPaid

Response

200—successful operation

Example uses serviceName = 00000000-0000-0000-0000-000000000000

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