Skip to content

Domains

All operations require authentication.

26 operationsv1 · v2/domain · /domain/name · /domain/{serviceName}
View as Markdown (opens in a new tab)
Agent setupPrevious console (opens in a new tab)

List all domain name resourcesBeta

GET
/v2/domain/name

IAM actions

domain:apiovh:name/getrequired—

Query parameters

additionalStates
AdditionalStatesEnum[]

Filter the results having all these additional states

ValuesDGCCRF_ABUSEDISPUTEFORCED_DELETIONOVH_ABUSEREGISTRY_ABUSETECHNICAL_SUSPENDED
contactAdministrator
string[]

Filter the results by administrator contact id

contactBilling
string[]

Filter the results by billing contact id

contactOwner
string[]

Filter the results by owner contact id

contactTechnical
string[]

Filter the results by technical contact id

iamTags
object

Filter resources on IAM tags

mainState
MainStateEnum[]

Filter the results having all these main states

ValuesDELETEDEXPIREDOKPENDING_CREATEPENDING_DELETEPENDING_INTERNAL_TRANSFERPENDING_OUTGOING_TRANSFERRESTORABLETO_DELETE
searchValue
string

Filter the results with the search value on resource id

suspensionState
SuspensionStateEnum[]

Filter the results having all these suspension states

ValuesNOT_SUSPENDEDSUSPENDED

Headers

X-Pagination-Cursor
string

Pagination cursor

X-Pagination-Size
integer

Pagination size

Response

200DomainWithIAM[]successful operation
checksum
string

Computed hash used to control concurrent modification requests. Here, it represents the current target specification value.

currentState
read-only
DomainCurrentState

Current state of the domain name

currentTasks
read-only
CurrentTask[]

Ongoing asynchronous tasks related to the domain name resource

iam
read-only
ResourceMetadata

IAM resource metadata

id
read-only
string

Unique identifier of the resource. Here, the domain name itself is used as an identifier.

resourceStatus
read-only
ResourceStatusEnum

Reflects the readiness of the domain name resource. A new target specification request will be accepted only in READY, UPDATING or ERROR status.

ValuesCREATINGCREATION_PLANNEDDELETINGERROROUT_OF_SYNCREADYSUSPENDEDUNKNOWNUPDATING
targetSpec
required
DomainTargetSpec

Latest target specification of the domain name resource

Reads your token from $OVH_TOKEN

$ curl https://api.eu.ovhcloud.com/v2/domain/name \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ { "checksum": "string", "currentState": { "additionalStates": [ "DGCCRF_ABUSE" ], "authInfoManagedByOVHcloud": true, "authInfoSupported": true, "contactsConfiguration": { "contactAdministrator": { "disclosurePolicy": { "disclosedFields": [ null ], "disclosureConfiguration": "DISCLOSED", "forcedDisclosureConfiguration": true, "visibleViaRdds": true }, "id": "string" }, "contactBilling": { "disclosurePolicy": { "disclosedFields": [ null ], "disclosureConfiguration": "DISCLOSED", "forcedDisclosureConfiguration": true, "visibleViaRdds": true }, "id": "string" }, "contactOwner": { "disclosurePolicy": { "disclosedFields": [ null ], "disclosureConfiguration": "DISCLOSED", "forcedDisclosureConfiguration": true, "visibleViaRdds": true }, "id": "string" }, "contactTechnical": { "disclosurePolicy": { "disclosedFields": [ null ], "disclosureConfiguration": "DISCLOSED", "forcedDisclosureConfiguration": true, "visibleViaRdds": true }, "id": "string" } }, "createdAt": "2024-01-01T12:00:00Z", "designatedAgentAllowed": true, "dnsConfiguration": { "configurationType": "ANYCAST", "dnssecSupported": true, "glueRecordIPv6Supported": true, "hostSupported": true, "maxDNS": 0, "minDNS": 0, "multipleIPsSupported": true, "nameServers": [ { "ips": [ null ], "ipv4": "192.0.2.0", "ipv6": "2001:41d0:1:1994::1", "nameServer": "string", "nameServerType": "ANYCAST" } ] }, "dnssecConfiguration": { "dnssecSupported": true, "dsData": [ { "algorithm": 0, "flags": 0, "keyTag": 0, "publicKey": "string" } ], "supportedAlgorithms": [ { "name": "DSA", "number": 0 } ] }, "extension": "string", "hostsConfiguration": { "hostSupported": true, "hosts": [ { "host": "string", "ips": [ null ] } ], "ipv4Supported": true, "ipv6Supported": true, "multipleIPsSupported": true }, "mainState": "DELETED", "name": "string", "protectionState": "PROTECTED", "suspensionState": "NOT_SUSPENDED", "transferAuthorizationMethod": "ASK_OVHCLOUD_SUPPORT" }, "currentTasks": [ { "errors": [ { "message": "string" } ], "id": "00000000-0000-0000-0000-000000000000", "link": "string", "status": "ERROR", "type": "string" } ], "iam": { "displayName": "string", "id": "00000000-0000-0000-0000-000000000000", "state": "EXPIRED", "tags": { "key": "string" }, "urn": "string" }, "id": "string", "resourceStatus": "CREATING", "targetSpec": { "contactsConfiguration": { "contactAdministrator": { "disclosurePolicy": { "disclosureConfiguration": "DISCLOSED" } }, "contactBilling": { "disclosurePolicy": { "disclosureConfiguration": "DISCLOSED" } }, "contactOwner": { "disclosurePolicy": { "disclosureConfiguration": "DISCLOSED" }, "id": "string" }, "contactTechnical": { "disclosurePolicy": { "disclosureConfiguration": "DISCLOSED" } } }, "dnsConfiguration": { "nameServers": [ { "ips": [ null ], "ipv4": "192.0.2.0", "ipv6": "2001:41d0:1:1994::1", "nameServer": "string" } ] }, "dnssecConfiguration": { "dsData": [ { "algorithm": 0, "flags": 0, "keyTag": 0, "publicKey": "string" } ] }, "hostsConfiguration": { "hosts": [ { "host": "string", "ips": [ null ] } ] }, "protectionState": "PROTECTED" } }]

Get a domain name resourceBeta

GET
/v2/domain/name/{domainName}

IAM actions

domain:apiovh:name/getrequired—

Path parameters

domainName
required
string

Domain name

Response

200DomainWithIAMsuccessful operation
checksum
string

Computed hash used to control concurrent modification requests. Here, it represents the current target specification value.

currentState
read-only
DomainCurrentState

Current state of the domain name

currentTasks
read-only
CurrentTask[]

Ongoing asynchronous tasks related to the domain name resource

iam
read-only
ResourceMetadata

IAM resource metadata

id
read-only
string

Unique identifier of the resource. Here, the domain name itself is used as an identifier.

resourceStatus
read-only
ResourceStatusEnum

Reflects the readiness of the domain name resource. A new target specification request will be accepted only in READY, UPDATING or ERROR status.

ValuesCREATINGCREATION_PLANNEDDELETINGERROROUT_OF_SYNCREADYSUSPENDEDUNKNOWNUPDATING
targetSpec
required
DomainTargetSpec

Latest target specification of the domain name resource

Example uses domainName = string

$ curl https://api.eu.ovhcloud.com/v2/domain/name/{domainName} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "checksum": "string", "currentState": { "additionalStates": [ "DGCCRF_ABUSE" ], "authInfoManagedByOVHcloud": true, "authInfoSupported": true, "contactsConfiguration": { "contactAdministrator": { "disclosurePolicy": { "disclosedFields": [ "ADDRESS" ], "disclosureConfiguration": "DISCLOSED", "forcedDisclosureConfiguration": true, "visibleViaRdds": true }, "id": "string" }, "contactBilling": { "disclosurePolicy": { "disclosedFields": [ "ADDRESS" ], "disclosureConfiguration": "DISCLOSED", "forcedDisclosureConfiguration": true, "visibleViaRdds": true }, "id": "string" }, "contactOwner": { "disclosurePolicy": { "disclosedFields": [ "ADDRESS" ], "disclosureConfiguration": "DISCLOSED", "forcedDisclosureConfiguration": true, "visibleViaRdds": true }, "id": "string" }, "contactTechnical": { "disclosurePolicy": { "disclosedFields": [ "ADDRESS" ], "disclosureConfiguration": "DISCLOSED", "forcedDisclosureConfiguration": true, "visibleViaRdds": true }, "id": "string" } }, "createdAt": "2024-01-01T12:00:00Z", "designatedAgentAllowed": true, "dnsConfiguration": { "configurationType": "ANYCAST", "dnssecSupported": true, "glueRecordIPv6Supported": true, "hostSupported": true, "maxDNS": 0, "minDNS": 0, "multipleIPsSupported": true, "nameServers": [ { "ips": [ "192.0.2.0" ], "ipv4": "192.0.2.0", "ipv6": "2001:41d0:1:1994::1", "nameServer": "string", "nameServerType": "ANYCAST" } ] }, "dnssecConfiguration": { "dnssecSupported": true, "dsData": [ { "algorithm": 0, "flags": 0, "keyTag": 0, "publicKey": "string" } ], "supportedAlgorithms": [ { "name": "DSA", "number": 0 } ] }, "extension": "string", "hostsConfiguration": { "hostSupported": true, "hosts": [ { "host": "string", "ips": [ "192.0.2.0" ] } ], "ipv4Supported": true, "ipv6Supported": true, "multipleIPsSupported": true }, "mainState": "DELETED", "name": "string", "protectionState": "PROTECTED", "suspensionState": "NOT_SUSPENDED", "transferAuthorizationMethod": "ASK_OVHCLOUD_SUPPORT" }, "currentTasks": [ { "errors": [ { "message": "string" } ], "id": "00000000-0000-0000-0000-000000000000", "link": "string", "status": "ERROR", "type": "string" } ], "iam": { "displayName": "string", "id": "00000000-0000-0000-0000-000000000000", "state": "EXPIRED", "tags": { "key": "string" }, "urn": "string" }, "id": "string", "resourceStatus": "CREATING", "targetSpec": { "contactsConfiguration": { "contactAdministrator": { "disclosurePolicy": { "disclosureConfiguration": "DISCLOSED" } }, "contactBilling": { "disclosurePolicy": { "disclosureConfiguration": "DISCLOSED" } }, "contactOwner": { "disclosurePolicy": { "disclosureConfiguration": "DISCLOSED" }, "id": "string" }, "contactTechnical": { "disclosurePolicy": { "disclosureConfiguration": "DISCLOSED" } } }, "dnsConfiguration": { "nameServers": [ { "ips": [ "192.0.2.0" ], "ipv4": "192.0.2.0", "ipv6": "2001:41d0:1:1994::1", "nameServer": "string" } ] }, "dnssecConfiguration": { "dsData": [ { "algorithm": 0, "flags": 0, "keyTag": 0, "publicKey": "string" } ] }, "hostsConfiguration": { "hosts": [ { "host": "string", "ips": [ "192.0.2.0" ] } ] }, "protectionState": "PROTECTED" }}

Update an existing domain name by modifying various configurations through the targetSpecBeta

PUT
/v2/domain/name/{domainName}

IAM actions

domain:apiovh:name/editrequired—
domain:apiovh:name/setProtectionoptionalOnly domain admin can lock or unlock domain

Path parameters

domainName
required
string

Domain name

Request body (required)

checksum
string

Computed hash used to control concurrent modification requests. Here, it represents the current target specification value.

currentState
read-only
DomainCurrentState

Current state of the domain name

currentTasks
read-only
CurrentTask[]

Ongoing asynchronous tasks related to the domain name resource

id
read-only
string

Unique identifier of the resource. Here, the domain name itself is used as an identifier.

resourceStatus
read-only
ResourceStatusEnum

Reflects the readiness of the domain name resource. A new target specification request will be accepted only in READY, UPDATING or ERROR status.

ValuesCREATINGCREATION_PLANNEDDELETINGERROROUT_OF_SYNCREADYSUSPENDEDUNKNOWNUPDATING
targetSpec
required
DomainTargetSpec

Latest target specification of the domain name resource

Response

200Domainsuccessful operation
checksum
string

Computed hash used to control concurrent modification requests. Here, it represents the current target specification value.

currentState
read-only
DomainCurrentState

Current state of the domain name

currentTasks
read-only
CurrentTask[]

Ongoing asynchronous tasks related to the domain name resource

id
read-only
string

Unique identifier of the resource. Here, the domain name itself is used as an identifier.

resourceStatus
read-only
ResourceStatusEnum

Reflects the readiness of the domain name resource. A new target specification request will be accepted only in READY, UPDATING or ERROR status.

ValuesCREATINGCREATION_PLANNEDDELETINGERROROUT_OF_SYNCREADYSUSPENDEDUNKNOWNUPDATING
targetSpec
required
DomainTargetSpec

Latest target specification of the domain name resource

Example uses domainName = string

$ curl https://api.eu.ovhcloud.com/v2/domain/name/{domainName} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "checksum": "string", "currentState": { "additionalStates": [ "DGCCRF_ABUSE" ], "authInfoManagedByOVHcloud": true, "authInfoSupported": true, "contactsConfiguration": { "contactAdministrator": { "disclosurePolicy": { "disclosedFields": [ "ADDRESS" ], "disclosureConfiguration": "DISCLOSED", "forcedDisclosureConfiguration": true, "visibleViaRdds": true }, "id": "string" }, "contactBilling": { "disclosurePolicy": { "disclosedFields": [ "ADDRESS" ], "disclosureConfiguration": "DISCLOSED", "forcedDisclosureConfiguration": true, "visibleViaRdds": true }, "id": "string" }, "contactOwner": { "disclosurePolicy": { "disclosedFields": [ "ADDRESS" ], "disclosureConfiguration": "DISCLOSED", "forcedDisclosureConfiguration": true, "visibleViaRdds": true }, "id": "string" }, "contactTechnical": { "disclosurePolicy": { "disclosedFields": [ "ADDRESS" ], "disclosureConfiguration": "DISCLOSED", "forcedDisclosureConfiguration": true, "visibleViaRdds": true }, "id": "string" } }, "createdAt": "2024-01-01T12:00:00Z", "designatedAgentAllowed": true, "dnsConfiguration": { "configurationType": "ANYCAST", "dnssecSupported": true, "glueRecordIPv6Supported": true, "hostSupported": true, "maxDNS": 0, "minDNS": 0, "multipleIPsSupported": true, "nameServers": [ { "ips": [ "192.0.2.0" ], "ipv4": "192.0.2.0", "ipv6": "2001:41d0:1:1994::1", "nameServer": "string", "nameServerType": "ANYCAST" } ] }, "dnssecConfiguration": { "dnssecSupported": true, "dsData": [ { "algorithm": 0, "flags": 0, "keyTag": 0, "publicKey": "string" } ], "supportedAlgorithms": [ { "name": "DSA", "number": 0 } ] }, "extension": "string", "hostsConfiguration": { "hostSupported": true, "hosts": [ { "host": "string", "ips": [ "192.0.2.0" ] } ], "ipv4Supported": true, "ipv6Supported": true, "multipleIPsSupported": true }, "mainState": "DELETED", "name": "string", "protectionState": "PROTECTED", "suspensionState": "NOT_SUSPENDED", "transferAuthorizationMethod": "ASK_OVHCLOUD_SUPPORT" }, "currentTasks": [ { "errors": [ { "message": "string" } ], "id": "00000000-0000-0000-0000-000000000000", "link": "string", "status": "ERROR", "type": "string" } ], "id": "string", "resourceStatus": "CREATING", "targetSpec": { "contactsConfiguration": { "contactAdministrator": { "disclosurePolicy": { "disclosureConfiguration": "DISCLOSED" } }, "contactBilling": { "disclosurePolicy": { "disclosureConfiguration": "DISCLOSED" } }, "contactOwner": { "disclosurePolicy": { "disclosureConfiguration": "DISCLOSED" }, "id": "string" }, "contactTechnical": { "disclosurePolicy": { "disclosureConfiguration": "DISCLOSED" } } }, "dnsConfiguration": { "nameServers": [ { "ips": [ "192.0.2.0" ], "ipv4": "192.0.2.0", "ipv6": "2001:41d0:1:1994::1", "nameServer": "string" } ] }, "dnssecConfiguration": { "dsData": [ { "algorithm": 0, "flags": 0, "keyTag": 0, "publicKey": "string" } ] }, "hostsConfiguration": { "hosts": [ { "host": "string", "ips": [ "192.0.2.0" ] } ] }, "protectionState": "PROTECTED" }}

Get the list of managed domain namesProduction

GET
/v1/domain

IAM actions

domain:apiovh:getrequired—

Query parameters

iamTags
object

Filter resources on IAM tags

whoisOwner
string

Filter domain names by owner ID

Response

200string[]successful operation

Reads your token from $OVH_TOKEN

$ curl https://api.eu.ovhcloud.com/v1/domain \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "string"]

Get domain name informationProduction

GET
/v1/domain/{serviceName}

IAM actions

domain:apiovh:getrequired—

Path parameters

serviceName
required
string

Service name

Response

200DomainServiceWithIAMsuccessful operation
contactAdmin
read-only
ContactSummary

Administrative contact data

contactBilling
read-only
ContactSummary

Billing contact data

contactOwner
read-only
ContactSummary

Owner (registrant) contact data

contactTech
read-only
ContactSummary

Technical contact data

dnssecState
read-only
DnssecStateEnum

Current DNSSEC state of the domain name

Valuesdisabledenablednot_supported
dnssecSupported
read-only
boolean

Whether DNSSEC is activated for this domain name

domain
read-only
string

Domain name

expirationDate
read-only
stringdate-time

Date when the domain name will expire, if not renewed

glueRecordIpv6Supported
read-only
boolean

Whether the registry supports IPv6 glue records

glueRecordMultiIpSupported
read-only
boolean

Whether the registry supports multi-ip glue records

hostSupported
read-only
boolean

Whether the registry supports hosts as independent entities

iam
read-only
ResourceMetadata

IAM resource metadata

lastUpdate
read-only
stringdate-time

Last update date

nameServerType
NameServerTypeEnum

Name servers type

Valuesanycastdedicatedemptyexternalholdhostedhostingmixedparking
nameServers
read-only
NameServer[]

Name servers list

offer
read-only
OfferEnum

Offer associated with the domain name

Valuesdiamondgoldplatinum
owoSupported
read-only
boolean

Whether Whois data obfuscation is supported for this domain name

parentService
read-only
ParentService

Parent service

renewalDate
read-only
stringdate-time

Date when the domain name should be renewed (relevant if renewalState is automatic_renew)

renewalState
read-only
RenewalStateEnum

Current renewal state of the domain name

Valuesautomatic_renewcancellation_completecancellation_requestedmanual_renewunpaid
serviceId
read-only
integer

Technical service identifier

state
read-only
DomainStateEnum

Current state of the domain name

Valuesautorenew_in_progressautorenew_registry_in_progressdeleteddisputeexpiredokoutgoing_transferpending_createpending_deletepending_incoming_transferpending_installationregistry_suspendedrestorabletechnical_suspended
suspensionState
read-only
SuspensionStateEnum

Current suspension state of the domain name

Valuesnot_suspendedsuspended
transferLockStatus
LockStatusEnum

Current transfer lock status of the domain name

Valueslockedlockingunavailableunlockedunlocking
whoisOwner
read-only
string

Owner (registrant) contact ID (contact data can be edited via /me/contact/)

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "contactAdmin": { "id": "string" }, "contactBilling": { "id": "string" }, "contactOwner": { "id": "string" }, "contactTech": { "id": "string" }, "dnssecState": "disabled", "dnssecSupported": true, "domain": "string", "expirationDate": "2024-01-01T12:00:00Z", "glueRecordIpv6Supported": true, "glueRecordMultiIpSupported": true, "hostSupported": true, "iam": { "displayName": "string", "id": "00000000-0000-0000-0000-000000000000", "state": "EXPIRED", "tags": { "key": "string" }, "urn": "string" }, "lastUpdate": "2024-01-01T12:00:00Z", "nameServerType": "anycast", "nameServers": [ { "id": 0, "ipv4": "192.0.2.0", "ipv6": "2001:41d0:1:1994::1", "nameServer": "string", "nameServerType": "anycast" } ], "offer": "diamond", "owoSupported": true, "parentService": { "name": "string", "type": "/allDom" }, "renewalDate": "2024-01-01T12:00:00Z", "renewalState": "automatic_renew", "serviceId": 0, "state": "autorenew_in_progress", "suspensionState": "not_suspended", "transferLockStatus": "locked", "whoisOwner": "string"}

Edit domain name propertiesProduction

PUT
/v1/domain/{serviceName}

IAM actions

domain:apiovh:editrequired—
domain:apiovh:name/setProtectionoptionalOnly domain admin can lock or unlock domain

Path parameters

serviceName
required
string

Service name

Request body (required)

contactAdmin
read-only
ContactSummary

Administrative contact data

contactBilling
read-only
ContactSummary

Billing contact data

contactOwner
read-only
ContactSummary

Owner (registrant) contact data

contactTech
read-only
ContactSummary

Technical contact data

dnssecState
read-only
DnssecStateEnum

Current DNSSEC state of the domain name

Valuesdisabledenablednot_supported
dnssecSupported
read-only
boolean

Whether DNSSEC is activated for this domain name

domain
read-only
string

Domain name

expirationDate
read-only
stringdate-time

Date when the domain name will expire, if not renewed

glueRecordIpv6Supported
read-only
boolean

Whether the registry supports IPv6 glue records

glueRecordMultiIpSupported
read-only
boolean

Whether the registry supports multi-ip glue records

hostSupported
read-only
boolean

Whether the registry supports hosts as independent entities

lastUpdate
read-only
stringdate-time

Last update date

nameServerType
NameServerTypeEnum

Name servers type

Valuesanycastdedicatedemptyexternalholdhostedhostingmixedparking
nameServers
read-only
NameServer[]

Name servers list

offer
read-only
OfferEnum

Offer associated with the domain name

Valuesdiamondgoldplatinum
owoSupported
read-only
boolean

Whether Whois data obfuscation is supported for this domain name

parentService
read-only
ParentService

Parent service

renewalDate
read-only
stringdate-time

Date when the domain name should be renewed (relevant if renewalState is automatic_renew)

renewalState
read-only
RenewalStateEnum

Current renewal state of the domain name

Valuesautomatic_renewcancellation_completecancellation_requestedmanual_renewunpaid
serviceId
read-only
integer

Technical service identifier

state
read-only
DomainStateEnum

Current state of the domain name

Valuesautorenew_in_progressautorenew_registry_in_progressdeleteddisputeexpiredokoutgoing_transferpending_createpending_deletepending_incoming_transferpending_installationregistry_suspendedrestorabletechnical_suspended
suspensionState
read-only
SuspensionStateEnum

Current suspension state of the domain name

Valuesnot_suspendedsuspended
transferLockStatus
LockStatusEnum

Current transfer lock status of the domain name

Valueslockedlockingunavailableunlockedunlocking
whoisOwner
read-only
string

Owner (registrant) contact ID (contact data can be edited via /me/contact/)

Response

200DomainServicesuccessful operation
contactAdmin
read-only
ContactSummary

Administrative contact data

contactBilling
read-only
ContactSummary

Billing contact data

contactOwner
read-only
ContactSummary

Owner (registrant) contact data

contactTech
read-only
ContactSummary

Technical contact data

dnssecState
read-only
DnssecStateEnum

Current DNSSEC state of the domain name

Valuesdisabledenablednot_supported
dnssecSupported
read-only
boolean

Whether DNSSEC is activated for this domain name

domain
read-only
string

Domain name

expirationDate
read-only
stringdate-time

Date when the domain name will expire, if not renewed

glueRecordIpv6Supported
read-only
boolean

Whether the registry supports IPv6 glue records

glueRecordMultiIpSupported
read-only
boolean

Whether the registry supports multi-ip glue records

hostSupported
read-only
boolean

Whether the registry supports hosts as independent entities

lastUpdate
read-only
stringdate-time

Last update date

nameServerType
NameServerTypeEnum

Name servers type

Valuesanycastdedicatedemptyexternalholdhostedhostingmixedparking
nameServers
read-only
NameServer[]

Name servers list

offer
read-only
OfferEnum

Offer associated with the domain name

Valuesdiamondgoldplatinum
owoSupported
read-only
boolean

Whether Whois data obfuscation is supported for this domain name

parentService
read-only
ParentService

Parent service

renewalDate
read-only
stringdate-time

Date when the domain name should be renewed (relevant if renewalState is automatic_renew)

renewalState
read-only
RenewalStateEnum

Current renewal state of the domain name

Valuesautomatic_renewcancellation_completecancellation_requestedmanual_renewunpaid
serviceId
read-only
integer

Technical service identifier

state
read-only
DomainStateEnum

Current state of the domain name

Valuesautorenew_in_progressautorenew_registry_in_progressdeleteddisputeexpiredokoutgoing_transferpending_createpending_deletepending_incoming_transferpending_installationregistry_suspendedrestorabletechnical_suspended
suspensionState
read-only
SuspensionStateEnum

Current suspension state of the domain name

Valuesnot_suspendedsuspended
transferLockStatus
LockStatusEnum

Current transfer lock status of the domain name

Valueslockedlockingunavailableunlockedunlocking
whoisOwner
read-only
string

Owner (registrant) contact ID (contact data can be edited via /me/contact/)

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "contactAdmin": { "id": "string" }, "contactBilling": { "id": "string" }, "contactOwner": { "id": "string" }, "contactTech": { "id": "string" }, "dnssecState": "disabled", "dnssecSupported": true, "domain": "string", "expirationDate": "2024-01-01T12:00:00Z", "glueRecordIpv6Supported": true, "glueRecordMultiIpSupported": true, "hostSupported": true, "lastUpdate": "2024-01-01T12:00:00Z", "nameServerType": "anycast", "nameServers": [ { "id": 0, "ipv4": "192.0.2.0", "ipv6": "2001:41d0:1:1994::1", "nameServer": "string", "nameServerType": "anycast" } ], "offer": "diamond", "owoSupported": true, "parentService": { "name": "string", "type": "/allDom" }, "renewalDate": "2024-01-01T12:00:00Z", "renewalState": "automatic_renew", "serviceId": 0, "state": "autorenew_in_progress", "suspensionState": "not_suspended", "transferLockStatus": "locked", "whoisOwner": "string"}

Get service informationProduction

GET
/v1/domain/{serviceName}/serviceInfos

IAM actions

domain:apiovh:serviceInfos/getrequired—

Path parameters

serviceName
required
string

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 = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{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"}

Update service informationProduction

PUT
/v1/domain/{serviceName}/serviceInfos

IAM actions

domain:apiovh:serviceInfos/editrequired—

Path parameters

serviceName
required
string

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 = string

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

List of current name serversProduction

GET
/v1/domain/{serviceName}/nameServer

IAM actions

domain:apiovh:nameServer/getrequired—

Path parameters

serviceName
required
string

Service name

Response

200integer[]successful operation

Example uses serviceName = string

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

Get this name server configurationProduction

GET
/v1/domain/{serviceName}/nameServer/{id}

IAM actions

domain:apiovh:nameServer/getrequired—

Path parameters

id
required
integer

Id

serviceName
required
string

Service name

Response

200FullNameServersuccessful operation
host
read-only
string

Host of the name server

id
read-only
integer

ID of the name server

ip
read-only
ip

IP address of the name server

isUsed
read-only
boolean

isUsed flag of the name server

toDelete
read-only
boolean

toDelete flag of the name server

Example uses id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/nameServer/{id} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "host": "string", "id": 0, "ip": "192.0.2.0", "isUsed": true, "toDelete": true}

Add new name serverProduction

POST
/v1/domain/{serviceName}/nameServer

IAM actions

domain:apiovh:nameServer/createrequired—

Path parameters

serviceName
required
string

Service name

Request body (required)

nameServer
required
NameServerInput[]

Name servers to create

Response

200Tasksuccessful operation
canAccelerate
read-only
boolean

Can accelerate the task

canCancel
read-only
boolean

Can cancel the task

canRelaunch
read-only
boolean

Can relaunch the task

comment
read-only
string

Comment about the task

creationDate
read-only
stringdate-time

Creation date of the task

domain
read-only
string

Domain of the task

doneDate
read-only
stringdate-time

Done date of the task

function
read-only
string

Function of the task

id
read-only
integer

Id of the task

lastUpdate
read-only
stringdate-time

Last update date of the task

status
read-only
OperationStatusEnum

Status of the task

Valuescancelleddoingdoneerrorproblemtodo
todoDate
read-only
stringdate-time

Todo date of the task

type
read-only
OperationTypeEnum

type of the task

Valuesalldomdomain

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/nameServer \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "canAccelerate": true, "canCancel": true, "canRelaunch": true, "comment": "string", "creationDate": "2024-01-01T12:00:00Z", "domain": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "string", "id": 0, "lastUpdate": "2024-01-01T12:00:00Z", "status": "cancelled", "todoDate": "2024-01-01T12:00:00Z", "type": "alldom"}

Delete a name serverProduction

DELETE
/v1/domain/{serviceName}/nameServer/{id}

IAM actions

domain:apiovh:nameServer/deleterequired—

Path parameters

id
required
integer

Id

serviceName
required
string

Service name

Response

200Tasksuccessful operation
canAccelerate
read-only
boolean

Can accelerate the task

canCancel
read-only
boolean

Can cancel the task

canRelaunch
read-only
boolean

Can relaunch the task

comment
read-only
string

Comment about the task

creationDate
read-only
stringdate-time

Creation date of the task

domain
read-only
string

Domain of the task

doneDate
read-only
stringdate-time

Done date of the task

function
read-only
string

Function of the task

id
read-only
integer

Id of the task

lastUpdate
read-only
stringdate-time

Last update date of the task

status
read-only
OperationStatusEnum

Status of the task

Valuescancelleddoingdoneerrorproblemtodo
todoDate
read-only
stringdate-time

Todo date of the task

type
read-only
OperationTypeEnum

type of the task

Valuesalldomdomain

Example uses id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/nameServer/{id} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "canAccelerate": true, "canCancel": true, "canRelaunch": true, "comment": "string", "creationDate": "2024-01-01T12:00:00Z", "domain": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "string", "id": 0, "lastUpdate": "2024-01-01T12:00:00Z", "status": "cancelled", "todoDate": "2024-01-01T12:00:00Z", "type": "alldom"}

Get name server statusProduction

GET
/v1/domain/{serviceName}/nameServer/{id}/status

IAM actions

domain:apiovh:nameServer/status/getrequired—

Path parameters

id
required
integer

Id

serviceName
required
string

Service name

Response

200NameServerStatussuccessful operation
state
read-only
NameServerStateEnum

Whether or not the DNS server is working

Valueskook
type
read-only
NameServerTypeEnum

Whether or not the DNS server is managed by OVHcloud

Valuesanycastdedicatedemptyexternalholdhostedhostingmixedparking
usedSince
read-only
stringdate-time

Date from which the DNS server is used by the domain

Example uses id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/nameServer/{id}/status \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "state": "ko", "type": "anycast", "usedSince": "2024-01-01T12:00:00Z"}

Update DNS serversProduction

POST
/v1/domain/{serviceName}/nameServers/update

IAM actions

domain:apiovh:nameServer/editrequired—

Path parameters

serviceName
required
string

Service name

Request body (required)

nameServers
required
NameServerInput[]

Name servers to update

Response

200Tasksuccessful operation
canAccelerate
read-only
boolean

Can accelerate the task

canCancel
read-only
boolean

Can cancel the task

canRelaunch
read-only
boolean

Can relaunch the task

comment
read-only
string

Comment about the task

creationDate
read-only
stringdate-time

Creation date of the task

domain
read-only
string

Domain of the task

doneDate
read-only
stringdate-time

Done date of the task

function
read-only
string

Function of the task

id
read-only
integer

Id of the task

lastUpdate
read-only
stringdate-time

Last update date of the task

status
read-only
OperationStatusEnum

Status of the task

Valuescancelleddoingdoneerrorproblemtodo
todoDate
read-only
stringdate-time

Todo date of the task

type
read-only
OperationTypeEnum

type of the task

Valuesalldomdomain

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/nameServers/update \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "canAccelerate": true, "canCancel": true, "canRelaunch": true, "comment": "string", "creationDate": "2024-01-01T12:00:00Z", "domain": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "string", "id": 0, "lastUpdate": "2024-01-01T12:00:00Z", "status": "cancelled", "todoDate": "2024-01-01T12:00:00Z", "type": "alldom"}

List of domain's DS RecordsProduction

GET
/v1/domain/{serviceName}/dsRecord

IAM actions

domain:apiovh:dsRecord/getrequired—

Path parameters

serviceName
required
string

Service name

Query parameters

flags
KeyFlagEnum

Filter the value of flags property (=)

Values256257
status
KeyStatusEnum

Filter the value of status property (=)

Valuesactivegeneratedpublishedremovedretiredrevoked

Response

200integer[]successful operation

Example uses serviceName = string

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

Get details on this DS RecordProduction

GET
/v1/domain/{serviceName}/dsRecord/{id}

IAM actions

domain:apiovh:dsRecord/getrequired—

Path parameters

id
required
integer

Id

serviceName
required
string

Service name

Response

200Keysuccessful operation
algorithm
KeyAlgorithmEnum

Algorithm number of the DNSSEC key

Values35678101213141516
flags
KeyFlagEnum

Flag of the DNSSEC key

Values256257
id
read-only
integer

ID of the DNSSEC key

publicKey
string

Public key

status
read-only
KeyStatusEnum

Key status of the DNSSEC key

Valuesactivegeneratedpublishedremovedretiredrevoked
tag
integer

Tag of the DNSSEC key

Example uses id = 0, serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/dsRecord/{id} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "algorithm": 3, "flags": 256, "id": 0, "publicKey": "string", "status": "active", "tag": 0}

Update DS recordsProduction

POST
/v1/domain/{serviceName}/dsRecord

IAM actions

domain:apiovh:dsRecord/createrequired—

Path parameters

serviceName
required
string

Service name

Request body (required)

keys
required
Key[]

New Keys

Response

200Tasksuccessful operation
canAccelerate
read-only
boolean

Can accelerate the task

canCancel
read-only
boolean

Can cancel the task

canRelaunch
read-only
boolean

Can relaunch the task

comment
read-only
string

Comment about the task

creationDate
read-only
stringdate-time

Creation date of the task

domain
read-only
string

Domain of the task

doneDate
read-only
stringdate-time

Done date of the task

function
read-only
string

Function of the task

id
read-only
integer

Id of the task

lastUpdate
read-only
stringdate-time

Last update date of the task

status
read-only
OperationStatusEnum

Status of the task

Valuescancelleddoingdoneerrorproblemtodo
todoDate
read-only
stringdate-time

Todo date of the task

type
read-only
OperationTypeEnum

type of the task

Valuesalldomdomain

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/dsRecord \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "canAccelerate": true, "canCancel": true, "canRelaunch": true, "comment": "string", "creationDate": "2024-01-01T12:00:00Z", "domain": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "string", "id": 0, "lastUpdate": "2024-01-01T12:00:00Z", "status": "cancelled", "todoDate": "2024-01-01T12:00:00Z", "type": "alldom"}

List of glue recordsProduction

GET
/v1/domain/{serviceName}/glueRecord

IAM actions

domain:apiovh:glueRecord/getrequired—

Path parameters

serviceName
required
string

Service name

Query parameters

host
string

Filter the value of host property

Response

200string[]successful operation

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/glueRecord \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "string"]

Get this glue recordProduction

GET
/v1/domain/{serviceName}/glueRecord/{host}

IAM actions

domain:apiovh:glueRecord/getrequired—

Path parameters

host
required
string

Host

serviceName
required
string

Service name

Response

200GlueRecordsuccessful operation
host
read-only
string

Host of the glue record

ips
required
ip[]

IP address

Example uses host = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/glueRecord/{host} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "host": "string", "ips": [ "192.0.2.0" ]}

Create a glue recordProduction

POST
/v1/domain/{serviceName}/glueRecord

IAM actions

domain:apiovh:glueRecord/createrequired—

Path parameters

serviceName
required
string

Service name

Request body (required)

host
required
string

Host of the glue record

ips
required
ip[]

IP addresses of the glue record

Response

200Tasksuccessful operation
canAccelerate
read-only
boolean

Can accelerate the task

canCancel
read-only
boolean

Can cancel the task

canRelaunch
read-only
boolean

Can relaunch the task

comment
read-only
string

Comment about the task

creationDate
read-only
stringdate-time

Creation date of the task

domain
read-only
string

Domain of the task

doneDate
read-only
stringdate-time

Done date of the task

function
read-only
string

Function of the task

id
read-only
integer

Id of the task

lastUpdate
read-only
stringdate-time

Last update date of the task

status
read-only
OperationStatusEnum

Status of the task

Valuescancelleddoingdoneerrorproblemtodo
todoDate
read-only
stringdate-time

Todo date of the task

type
read-only
OperationTypeEnum

type of the task

Valuesalldomdomain

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/glueRecord \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "canAccelerate": true, "canCancel": true, "canRelaunch": true, "comment": "string", "creationDate": "2024-01-01T12:00:00Z", "domain": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "string", "id": 0, "lastUpdate": "2024-01-01T12:00:00Z", "status": "cancelled", "todoDate": "2024-01-01T12:00:00Z", "type": "alldom"}

Delete the glue recordProduction

DELETE
/v1/domain/{serviceName}/glueRecord/{host}

IAM actions

domain:apiovh:glueRecord/deleterequired—

Path parameters

host
required
string

Host

serviceName
required
string

Service name

Response

200Tasksuccessful operation
canAccelerate
read-only
boolean

Can accelerate the task

canCancel
read-only
boolean

Can cancel the task

canRelaunch
read-only
boolean

Can relaunch the task

comment
read-only
string

Comment about the task

creationDate
read-only
stringdate-time

Creation date of the task

domain
read-only
string

Domain of the task

doneDate
read-only
stringdate-time

Done date of the task

function
read-only
string

Function of the task

id
read-only
integer

Id of the task

lastUpdate
read-only
stringdate-time

Last update date of the task

status
read-only
OperationStatusEnum

Status of the task

Valuescancelleddoingdoneerrorproblemtodo
todoDate
read-only
stringdate-time

Todo date of the task

type
read-only
OperationTypeEnum

type of the task

Valuesalldomdomain

Example uses host = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/glueRecord/{host} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "canAccelerate": true, "canCancel": true, "canRelaunch": true, "comment": "string", "creationDate": "2024-01-01T12:00:00Z", "domain": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "string", "id": 0, "lastUpdate": "2024-01-01T12:00:00Z", "status": "cancelled", "todoDate": "2024-01-01T12:00:00Z", "type": "alldom"}

Update the glue recordProduction

POST
/v1/domain/{serviceName}/glueRecord/{host}/update

IAM actions

domain:apiovh:glueRecord/editrequired—

Path parameters

host
required
string

Host

serviceName
required
string

Service name

Request body (required)

host
read-only
string

Host of the glue record

ips
required
ip[]

IP address

Response

200Tasksuccessful operation
canAccelerate
read-only
boolean

Can accelerate the task

canCancel
read-only
boolean

Can cancel the task

canRelaunch
read-only
boolean

Can relaunch the task

comment
read-only
string

Comment about the task

creationDate
read-only
stringdate-time

Creation date of the task

domain
read-only
string

Domain of the task

doneDate
read-only
stringdate-time

Done date of the task

function
read-only
string

Function of the task

id
read-only
integer

Id of the task

lastUpdate
read-only
stringdate-time

Last update date of the task

status
read-only
OperationStatusEnum

Status of the task

Valuescancelleddoingdoneerrorproblemtodo
todoDate
read-only
stringdate-time

Todo date of the task

type
read-only
OperationTypeEnum

type of the task

Valuesalldomdomain

Example uses host = string, serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/glueRecord/{host}/update \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "canAccelerate": true, "canCancel": true, "canRelaunch": true, "comment": "string", "creationDate": "2024-01-01T12:00:00Z", "domain": "string", "doneDate": "2024-01-01T12:00:00Z", "function": "string", "id": 0, "lastUpdate": "2024-01-01T12:00:00Z", "status": "cancelled", "todoDate": "2024-01-01T12:00:00Z", "type": "alldom"}

List domain optionsProduction

GET
/v1/domain/{serviceName}/option

IAM actions

domain:apiovh:option/getrequired—

Path parameters

serviceName
required
string

Service name

Response

200DomainOptionEnum[]successful operation

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/option \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "dnsAnycast"]

Get details on this domain optionProduction

GET
/v1/domain/{serviceName}/option/{option}

IAM actions

domain:apiovh:option/getrequired—

Path parameters

option
required
DomainOptionEnum

Option

ValuesdnsAnycast
serviceName
required
string

Service name

Response

200Optionsuccessful operation
expirationDate
read-only
stringdate-time

Expiration date of the option

option
read-only
DomainOptionEnum

The option name

ValuesdnsAnycast
state
read-only
DomainOptionStateEnum

The state of the option

Valuesreleasedsubscribed

Example uses option = dnsAnycast, serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/option/{option} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "expirationDate": "2024-01-01T12:00:00Z", "option": "dnsAnycast", "state": "released"}

Remove a given optionProduction

DELETE
/v1/domain/{serviceName}/option/{option}

IAM actions

domain:apiovh:option/deleterequired—

Path parameters

option
required
DomainOptionEnum

Option

ValuesdnsAnycast
serviceName
required
string

Service name

Response

200—successful operation

Example uses option = dnsAnycast, serviceName = string

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

Retrieve data about the options associated to a domainProduction

GET
/v1/domain/{serviceName}/options

IAM actions

domain:apiovh:options/getrequired—

Path parameters

serviceName
required
string

Service name

Response

200ServiceOptionssuccessful operation
hosting
read-only
ServiceOption

Hosting option

offer
read-only
ServiceOption

Offer option (Diamond, Platinum)

zone
read-only
ServiceOption

DNS zone option

Example uses serviceName = string

$ curl https://api.eu.ovhcloud.com/v1/domain/{serviceName}/options \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "hosting": { "serviceName": "string" }, "offer": { "serviceName": "string" }, "zone": { "serviceName": "string" }}