Domains
All operations require authentication.
List all domain name resourcesBeta
IAM actions
Query parameters
Filter the results having all these additional states
DGCCRF_ABUSEDISPUTEFORCED_DELETIONOVH_ABUSEREGISTRY_ABUSETECHNICAL_SUSPENDEDFilter the results by administrator contact id
Filter the results by billing contact id
Filter the results by owner contact id
Filter the results by technical contact id
Filter resources on IAM tags
Filter the results having all these main states
DELETEDEXPIREDOKPENDING_CREATEPENDING_DELETEPENDING_INTERNAL_TRANSFERPENDING_OUTGOING_TRANSFERRESTORABLETO_DELETEFilter the results with the search value on resource id
Filter the results having all these suspension states
NOT_SUSPENDEDSUSPENDEDHeaders
Pagination cursor
Pagination size
Response
Computed hash used to control concurrent modification requests. Here, it represents the current target specification value.
Current state of the domain name
Ongoing asynchronous tasks related to the domain name resource
IAM resource metadata
Unique identifier of the resource. Here, the domain name itself is used as an identifier.
Reflects the readiness of the domain name resource. A new target specification request will be accepted only in READY, UPDATING or ERROR status.
CREATINGCREATION_PLANNEDDELETINGERROROUT_OF_SYNCREADYSUSPENDEDUNKNOWNUPDATINGLatest 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"[ { "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
IAM actions
Path parameters
Domain name
Response
Computed hash used to control concurrent modification requests. Here, it represents the current target specification value.
Current state of the domain name
Ongoing asynchronous tasks related to the domain name resource
IAM resource metadata
Unique identifier of the resource. Here, the domain name itself is used as an identifier.
Reflects the readiness of the domain name resource. A new target specification request will be accepted only in READY, UPDATING or ERROR status.
CREATINGCREATION_PLANNEDDELETINGERROROUT_OF_SYNCREADYSUSPENDEDUNKNOWNUPDATINGLatest 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"{ "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
IAM actions
Path parameters
Domain name
Request body (required)
Computed hash used to control concurrent modification requests. Here, it represents the current target specification value.
Current state of the domain name
Ongoing asynchronous tasks related to the domain name resource
Unique identifier of the resource. Here, the domain name itself is used as an identifier.
Reflects the readiness of the domain name resource. A new target specification request will be accepted only in READY, UPDATING or ERROR status.
CREATINGCREATION_PLANNEDDELETINGERROROUT_OF_SYNCREADYSUSPENDEDUNKNOWNUPDATINGLatest target specification of the domain name resource
Response
Computed hash used to control concurrent modification requests. Here, it represents the current target specification value.
Current state of the domain name
Ongoing asynchronous tasks related to the domain name resource
Unique identifier of the resource. Here, the domain name itself is used as an identifier.
Reflects the readiness of the domain name resource. A new target specification request will be accepted only in READY, UPDATING or ERROR status.
CREATINGCREATION_PLANNEDDELETINGERROROUT_OF_SYNCREADYSUSPENDEDUNKNOWNUPDATINGLatest 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"{ "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
IAM actions
Query parameters
Filter resources on IAM tags
Filter domain names by owner ID
Response
Reads your token from $OVH_TOKEN
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain \
-H "authorization: Bearer $OVH_TOKEN"[ "string"]
Get domain name informationProduction
IAM actions
Path parameters
Service name
Response
Administrative contact data
Billing contact data
Owner (registrant) contact data
Technical contact data
Current DNSSEC state of the domain name
disabledenablednot_supportedWhether DNSSEC is activated for this domain name
Domain name
Date when the domain name will expire, if not renewed
Whether the registry supports IPv6 glue records
Whether the registry supports multi-ip glue records
Whether the registry supports hosts as independent entities
IAM resource metadata
Last update date
Name servers type
anycastdedicatedemptyexternalholdhostedhostingmixedparkingName servers list
Offer associated with the domain name
diamondgoldplatinumWhether Whois data obfuscation is supported for this domain name
Parent service
Date when the domain name should be renewed (relevant if renewalState is automatic_renew)
Current renewal state of the domain name
automatic_renewcancellation_completecancellation_requestedmanual_renewunpaidTechnical service identifier
Current state of the domain name
autorenew_in_progressautorenew_registry_in_progressdeleteddisputeexpiredokoutgoing_transferpending_createpending_deletepending_incoming_transferpending_installationregistry_suspendedrestorabletechnical_suspendedCurrent suspension state of the domain name
not_suspendedsuspendedCurrent transfer lock status of the domain name
lockedlockingunavailableunlockedunlockingOwner (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"{ "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
IAM actions
Path parameters
Service name
Request body (required)
Administrative contact data
Billing contact data
Owner (registrant) contact data
Technical contact data
Current DNSSEC state of the domain name
disabledenablednot_supportedWhether DNSSEC is activated for this domain name
Domain name
Date when the domain name will expire, if not renewed
Whether the registry supports IPv6 glue records
Whether the registry supports multi-ip glue records
Whether the registry supports hosts as independent entities
Last update date
Name servers type
anycastdedicatedemptyexternalholdhostedhostingmixedparkingName servers list
Offer associated with the domain name
diamondgoldplatinumWhether Whois data obfuscation is supported for this domain name
Parent service
Date when the domain name should be renewed (relevant if renewalState is automatic_renew)
Current renewal state of the domain name
automatic_renewcancellation_completecancellation_requestedmanual_renewunpaidTechnical service identifier
Current state of the domain name
autorenew_in_progressautorenew_registry_in_progressdeleteddisputeexpiredokoutgoing_transferpending_createpending_deletepending_incoming_transferpending_installationregistry_suspendedrestorabletechnical_suspendedCurrent suspension state of the domain name
not_suspendedsuspendedCurrent transfer lock status of the domain name
lockedlockingunavailableunlockedunlockingOwner (registrant) contact ID (contact data can be edited via /me/contact/)
Response
Administrative contact data
Billing contact data
Owner (registrant) contact data
Technical contact data
Current DNSSEC state of the domain name
disabledenablednot_supportedWhether DNSSEC is activated for this domain name
Domain name
Date when the domain name will expire, if not renewed
Whether the registry supports IPv6 glue records
Whether the registry supports multi-ip glue records
Whether the registry supports hosts as independent entities
Last update date
Name servers type
anycastdedicatedemptyexternalholdhostedhostingmixedparkingName servers list
Offer associated with the domain name
diamondgoldplatinumWhether Whois data obfuscation is supported for this domain name
Parent service
Date when the domain name should be renewed (relevant if renewalState is automatic_renew)
Current renewal state of the domain name
automatic_renewcancellation_completecancellation_requestedmanual_renewunpaidTechnical service identifier
Current state of the domain name
autorenew_in_progressautorenew_registry_in_progressdeleteddisputeexpiredokoutgoing_transferpending_createpending_deletepending_incoming_transferpending_installationregistry_suspendedrestorabletechnical_suspendedCurrent suspension state of the domain name
not_suspendedsuspendedCurrent transfer lock status of the domain name
lockedlockingunavailableunlockedunlockingOwner (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"{ "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
IAM actions
Path parameters
Service name
Response
Indicates that the service can be set up to be deleted at expiration
All the possible renew period of your service in month
Way of handling the renew
Detailed renewal type of a service
automaticForcedProductautomaticV2012automaticV2014automaticV2016manualoneShotoptionservice.StateEnum
autorenewInProgressexpiredinCreationokpendingDebtunPaidExample uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ serviceInfos \
-H "authorization: Bearer $OVH_TOKEN"{ "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
IAM actions
Path parameters
Service name
Request body (required)
Indicates that the service can be set up to be deleted at expiration
All the possible renew period of your service in month
Way of handling the renew
Detailed renewal type of a service
automaticForcedProductautomaticV2012automaticV2014automaticV2016manualoneShotoptionservice.StateEnum
autorenewInProgressexpiredinCreationokpendingDebtunPaidResponse
Example uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ serviceInfos \
-H "authorization: Bearer $OVH_TOKEN"List of current name serversProduction
IAM actions
Path parameters
Service name
Response
Example uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ nameServer \
-H "authorization: Bearer $OVH_TOKEN"[ 0]
Get this name server configurationProduction
IAM actions
Path parameters
Id
Service name
Response
Host of the name server
ID of the name server
IP address of the name server
isUsed flag of the name server
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"{ "host": "string", "id": 0, "ip": "192.0.2.0", "isUsed": true, "toDelete": true}
Add new name serverProduction
IAM actions
Path parameters
Service name
Request body (required)
Name servers to create
Response
Can accelerate the task
Can cancel the task
Can relaunch the task
Comment about the task
Creation date of the task
Domain of the task
Done date of the task
Function of the task
Id of the task
Last update date of the task
Status of the task
cancelleddoingdoneerrorproblemtodoTodo date of the task
type of the task
alldomdomainExample uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ nameServer \
-H "authorization: Bearer $OVH_TOKEN"{ "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
IAM actions
Path parameters
Id
Service name
Response
Can accelerate the task
Can cancel the task
Can relaunch the task
Comment about the task
Creation date of the task
Domain of the task
Done date of the task
Function of the task
Id of the task
Last update date of the task
Status of the task
cancelleddoingdoneerrorproblemtodoTodo date of the task
type of the task
alldomdomainExample uses id = 0, serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ nameServer/ {id} \
-H "authorization: Bearer $OVH_TOKEN"{ "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
IAM actions
Path parameters
Id
Service name
Response
Whether or not the DNS server is working
kookWhether or not the DNS server is managed by OVHcloud
anycastdedicatedemptyexternalholdhostedhostingmixedparkingDate 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"{ "state": "ko", "type": "anycast", "usedSince": "2024-01-01T12:00:00Z"}
Update DNS serversProduction
IAM actions
Path parameters
Service name
Request body (required)
Name servers to update
Response
Can accelerate the task
Can cancel the task
Can relaunch the task
Comment about the task
Creation date of the task
Domain of the task
Done date of the task
Function of the task
Id of the task
Last update date of the task
Status of the task
cancelleddoingdoneerrorproblemtodoTodo date of the task
type of the task
alldomdomainExample uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ nameServers/ update \
-H "authorization: Bearer $OVH_TOKEN"{ "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
IAM actions
Path parameters
Service name
Query parameters
Filter the value of flags property (=)
256257Filter the value of status property (=)
activegeneratedpublishedremovedretiredrevokedResponse
Example uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ dsRecord \
-H "authorization: Bearer $OVH_TOKEN"[ 0]
Get details on this DS RecordProduction
IAM actions
Path parameters
Id
Service name
Response
Algorithm number of the DNSSEC key
35678101213141516Flag of the DNSSEC key
256257ID of the DNSSEC key
Public key
Key status of the DNSSEC key
activegeneratedpublishedremovedretiredrevokedTag 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"{ "algorithm": 3, "flags": 256, "id": 0, "publicKey": "string", "status": "active", "tag": 0}
Update DS recordsProduction
IAM actions
Path parameters
Service name
Request body (required)
New Keys
Response
Can accelerate the task
Can cancel the task
Can relaunch the task
Comment about the task
Creation date of the task
Domain of the task
Done date of the task
Function of the task
Id of the task
Last update date of the task
Status of the task
cancelleddoingdoneerrorproblemtodoTodo date of the task
type of the task
alldomdomainExample uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ dsRecord \
-H "authorization: Bearer $OVH_TOKEN"{ "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
IAM actions
Path parameters
Service name
Query parameters
Filter the value of host property
Response
Example uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ glueRecord \
-H "authorization: Bearer $OVH_TOKEN"[ "string"]
Get this glue recordProduction
IAM actions
Path parameters
Host
Service name
Response
Host of the glue record
IP address
Example uses host = string, serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ glueRecord/ {host} \
-H "authorization: Bearer $OVH_TOKEN"{ "host": "string", "ips": [ "192.0.2.0" ]}
Create a glue recordProduction
IAM actions
Path parameters
Service name
Request body (required)
Host of the glue record
IP addresses of the glue record
Response
Can accelerate the task
Can cancel the task
Can relaunch the task
Comment about the task
Creation date of the task
Domain of the task
Done date of the task
Function of the task
Id of the task
Last update date of the task
Status of the task
cancelleddoingdoneerrorproblemtodoTodo date of the task
type of the task
alldomdomainExample uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ glueRecord \
-H "authorization: Bearer $OVH_TOKEN"{ "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
IAM actions
Path parameters
Host
Service name
Response
Can accelerate the task
Can cancel the task
Can relaunch the task
Comment about the task
Creation date of the task
Domain of the task
Done date of the task
Function of the task
Id of the task
Last update date of the task
Status of the task
cancelleddoingdoneerrorproblemtodoTodo date of the task
type of the task
alldomdomainExample uses host = string, serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ glueRecord/ {host} \
-H "authorization: Bearer $OVH_TOKEN"{ "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
IAM actions
Path parameters
Host
Service name
Request body (required)
Host of the glue record
IP address
Response
Can accelerate the task
Can cancel the task
Can relaunch the task
Comment about the task
Creation date of the task
Domain of the task
Done date of the task
Function of the task
Id of the task
Last update date of the task
Status of the task
cancelleddoingdoneerrorproblemtodoTodo date of the task
type of the task
alldomdomainExample uses host = string, serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ glueRecord/ {host}/ update \
-H "authorization: Bearer $OVH_TOKEN"{ "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
IAM actions
Path parameters
Service name
Response
Example uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ option \
-H "authorization: Bearer $OVH_TOKEN"[ "dnsAnycast"]
Get details on this domain optionProduction
IAM actions
Path parameters
Option
dnsAnycastService name
Response
Expiration date of the option
The option name
dnsAnycastThe state of the option
releasedsubscribedExample uses option = dnsAnycast, serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ option/ {option} \
-H "authorization: Bearer $OVH_TOKEN"{ "expirationDate": "2024-01-01T12:00:00Z", "option": "dnsAnycast", "state": "released"}
Remove a given optionProduction
IAM actions
Path parameters
Option
dnsAnycastService name
Response
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
IAM actions
Path parameters
Service name
Response
Hosting option
Offer option (Diamond, Platinum)
DNS zone option
Example uses serviceName = string
$ curl https:/ / api.eu.ovhcloud.com/ v1/ domain/ {serviceName}/ options \
-H "authorization: Bearer $OVH_TOKEN"{ "hosting": { "serviceName": "string" }, "offer": { "serviceName": "string" }, "zone": { "serviceName": "string" }}