API

Domain

A registered domain: list, register, get or delete one, and its actions authinfo, autorenew, status, reachability, createstatus, renew, restore and transferout.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /domain/domains/{domain}/renew create OK
POST /domain/domains/{domain}/restore create Accepted
POST /domain/domains/{domain}/transferout create Accepted
POST /domain/domains create OK
GET /domain/domains list OK
GET /domain/domains/{domain} load OK
GET /domain/domains/{domain}/createstatus load OK
GET /domain/domains/{domain}/renew load OK
GET /domain/domains/{domain}/restore load OK
DELETE /domain/domains/{domain} remove Accepted
PUT /domain/domains/{domain}/authinfo update Created
PATCH /domain/domains/{domain}/autorenew update Created
PATCH /domain/domains/{domain}/reachability update
PATCH /domain/domains/{domain}/status update Accepted

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

domains, err := client.Domain(nil).List(nil, nil)
if err != nil {
    panic(err)
}
fmt.Println(domains)
domain, err := client.Domain(nil).Load(map[string]any{"fqdn": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(domain)
created, err := client.Domain(nil).Create(map[string]any{"admin": map[string]any{}, "bill": map[string]any{}, "fqdn": "example", "owner": map[string]any{}, "tech": map[string]any{}}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)
removed, err := client.Domain(nil).Remove(map[string]any{"fqdn": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(removed)

Lua

Construct client as shown in the Lua setup, then call the operations:

local domains, err = client:Domain():list()
local domain, err = client:Domain():load({ fqdn = "example" })
local created, err = client:Domain():create({ admin = {}, bill = {}, fqdn = "example", owner = {}, tech = {} })
local removed, err = client:Domain():remove({ fqdn = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$domains = $client->Domain()->list();
$domain = $client->Domain()->load(["fqdn" => "example"]);
$created = $client->Domain()->create(["admin" => [], "bill" => [], "fqdn" => "example", "owner" => [], "tech" => []]);
$client->Domain()->remove(["fqdn" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

domains = client.Domain().list()
domain = client.Domain().load({"fqdn": "example"})
created = client.Domain().create({ "admin": {}, "bill": {}, "fqdn": "example", "owner": {}, "tech": {} })
client.Domain().remove({"fqdn": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

domains = client.Domain.list()
domain = client.Domain.load({ "fqdn" => "example" })
created = client.Domain.create({ "admin" => {}, "bill" => {}, "fqdn" => "example", "owner" => {}, "tech" => {} })
client.Domain.remove({ "fqdn" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const domains = await client.Domain().list()
const domain = await client.Domain().load({ fqdn: "example" })
const created = await client.Domain().create({ admin: {}, bill: {}, fqdn: "example", owner: {}, tech: {} })
await client.Domain().remove({ fqdn: "example" })

Fields

Field Type Required Description
admin object Yes Admin
authinfo string No Authinfo
autorenew object Yes Autorenew
bill object Yes Bill
can_tld_lock boolean Yes Can Tld Lock
claims string No Claims
contacts object Yes Contacts
currency string No Currency
dates object Yes Dates
domain_owner string Yes Domain Owner
duration integer No Duration
enforce_premium boolean No Enforce Premium
errors array No Errors
extra_parameters object No Extra Parameters
fqdn string Yes Fqdn
fqdn_unicode string Yes Fqdn Unicode
href string Yes Href
id string No Id
lang string No Lang
mailbox_optin boolean No Mailbox Optin
nameserver object Yes Nameserver
nameservers array Yes Nameservers
nameservers_ips object No Nameservers Ips
orga_owner string Yes Orga Owner
owner object Yes Owner
price number No Price
reachability string Yes Reachability
resellee_id string No Resellee Id
services array Yes Services
sharing_id string No Sharing Id
sharing_space object Yes Sharing Space
smd string No Smd
status array Yes Status
tags array No Tags
tech object Yes Tech
template_id string No Template Id
tld string Yes Tld
tld_period string No Tld Period
trustee_roles array No Trustee Roles

create

POST /domain/domains/{domain}/renew

Operation ID: postDomainDomainsDomainRenew.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes
sharing_id query string No
Dry-Run header integer No

Request body

application/json

Property Type Required Description
duration integer No

Responses

200: OK

application/json

Property Type Required Description
errors array of object No
errors[].description string Yes
errors[].location enum: header, path, querystring, body Yes
errors[].name string Yes
status enum: success, error Yes
202: Accepted

application/json

Property Type Required Description
message string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

POST /domain/domains/{domain}/restore

Operation ID: postDomainDomainsDomainRestore.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes
sharing_id query string No

Request body

application/json

The request body is object.

Responses

202: Accepted

application/json

Property Type Required Description
message string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

POST /domain/domains/{domain}/transferout

Operation ID: postDomainDomainsDomainTransferout.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes

Request body

application/json

Property Type Required Description
accept boolean Yes
authinfo string Yes

Responses

202: Accepted

application/json

Property Type Required Description
message string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

POST /domain/domains

Operation ID: postDomainDomains.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
sharing_id query string No
Dry-Run header integer No

Request body

application/json

Property Type Required Description
admin object No
admin.brand_number string No
admin.city string No
admin.country string Yes
admin.data_obfuscated boolean No
admin.email string Yes
admin.extra_parameters object No
admin.family string Yes
admin.fax string No
admin.given string Yes
admin.jo_announce_number string No
admin.jo_announce_page string No
admin.jo_declaration_date string No
admin.jo_publication_date string No
admin.lang enum: en, es, fr, ja, zh-hans, zh-hant No
admin.mail_obfuscated boolean No
admin.mobile string No
admin.orgname string No
admin.phone string No
admin.siren string No
admin.state string No
admin.streetaddr string Yes
admin.type enum: individual, company, association, publicbody Yes
admin.validation enum: pending, done, failed, deleted, none No
admin.zip string No
bill object No
bill.brand_number string No
bill.city string No
bill.country string Yes
bill.data_obfuscated boolean No
bill.email string Yes
bill.extra_parameters object No
bill.family string Yes
bill.fax string No
bill.given string Yes
bill.jo_announce_number string No
bill.jo_announce_page string No
bill.jo_declaration_date string No
bill.jo_publication_date string No
bill.lang enum: en, es, fr, ja, zh-hans, zh-hant No
bill.mail_obfuscated boolean No
bill.mobile string No
bill.orgname string No
bill.phone string No
bill.siren string No
bill.state string No
bill.streetaddr string Yes
bill.type enum: individual, company, association, publicbody Yes
bill.validation enum: pending, done, failed, deleted, none No
bill.zip string No
claims string No
currency enum: EUR, USD, GBP, TWD, CNY No
duration integer No
enforce_premium boolean No
extra_parameters object No
fqdn string Yes
lang string No
mailbox_optin boolean No
nameservers array of string No
nameservers_ips object No
owner object Yes
owner.brand_number string No
owner.city string No
owner.country string Yes
owner.data_obfuscated boolean No
owner.email string Yes
owner.extra_parameters object No
owner.family string Yes
owner.fax string No
owner.given string Yes
owner.jo_announce_number string No
owner.jo_announce_page string No
owner.jo_declaration_date string No
owner.jo_publication_date string No
owner.lang enum: en, es, fr, ja, zh-hans, zh-hant No
owner.mail_obfuscated boolean No
owner.mobile string No
owner.orgname string No
owner.phone string No
owner.siren string No
owner.state string No
owner.streetaddr string Yes
owner.type enum: individual, company, association, publicbody Yes
owner.validation enum: pending, done, failed, deleted, none No
owner.zip string No
price number No
resellee_id string No
smd string No
tech object No
tech.brand_number string No
tech.city string No
tech.country string Yes
tech.data_obfuscated boolean No
tech.email string Yes
tech.extra_parameters object No
tech.family string Yes
tech.fax string No
tech.given string Yes
tech.jo_announce_number string No
tech.jo_announce_page string No
tech.jo_declaration_date string No
tech.jo_publication_date string No
tech.lang enum: en, es, fr, ja, zh-hans, zh-hant No
tech.mail_obfuscated boolean No
tech.mobile string No
tech.orgname string No
tech.phone string No
tech.siren string No
tech.state string No
tech.streetaddr string Yes
tech.type enum: individual, company, association, publicbody Yes
tech.validation enum: pending, done, failed, deleted, none No
tech.zip string No
template_id string No
tld_period enum: sunrise, landrush, eap1, eap2, eap3, eap4, ... No

Responses

200: OK

application/json

Property Type Required Description
errors array of object No
errors[].description string Yes
errors[].location enum: header, path, querystring, body Yes
errors[].name string Yes
status enum: success, error Yes
202: Accepted

application/json

Property Type Required Description
message string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

list

GET /domain/domains

Operation ID: getDomainDomains.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
fqdn query string No
nameserver query enum: abc, livedns, other No
page query integer No
per_page query integer No
resellee_id query string No
sharing_id query string No
sort_by query string No
tld query string No

Responses

200: OK

application/json

Property Type Required Description
[].autorenew boolean Yes
[].dates object Yes
[].dates.authinfo_expires_at string (date-time) No
[].dates.created_at string (date-time) No
[].dates.deletes_at string (date-time) No
[].dates.hold_begins_at string (date-time) No
[].dates.hold_ends_at string (date-time) No
[].dates.pending_delete_ends_at string (date-time) No
[].dates.registry_created_at string (date-time) Yes
[].dates.registry_ends_at string (date-time) No
[].dates.renew_begins_at string (date-time) No
[].dates.restore_ends_at string (date-time) No
[].dates.updated_at string (date-time) Yes
[].domain_owner string Yes
[].fqdn string Yes
[].fqdn_unicode string Yes
[].href string Yes
[].id string Yes
[].nameserver object Yes
[].nameserver.current string Yes
[].nameserver.hosts array of string No
[].orga_owner string Yes
[].owner string Yes
[].sharing_id string No
[].status array of enum: clientHold, clientUpdateProhibited, clientTransferProhibited, clientDeleteProhibited, clientRenewProhibited, serverHold, ... Yes
[].tags array of string No
[].tld string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

load

GET /domain/domains/{domain}

Operation ID: getDomainDomainsDomain.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes

Responses

200: OK

application/json

Property Type Required Description
authinfo string No
autorenew object Yes
autorenew.dates array of string (date-time) No
autorenew.duration integer No
autorenew.enabled boolean No
autorenew.href string Yes
autorenew.org_id string No
can_tld_lock boolean Yes
contacts object Yes
contacts.admin object Yes
contacts.admin.brand_number string No
contacts.admin.city string No
contacts.admin.country string Yes
contacts.admin.data_obfuscated boolean No
contacts.admin.email string Yes
contacts.admin.extra_parameters object No
contacts.admin.family string Yes
contacts.admin.fax string No
contacts.admin.given string Yes
contacts.admin.jo_announce_number string No
contacts.admin.jo_announce_page string No
contacts.admin.jo_declaration_date string No
contacts.admin.jo_publication_date string No
contacts.admin.mail_obfuscated boolean No
contacts.admin.mobile string No
contacts.admin.orgname string No
contacts.admin.phone string No
contacts.admin.reachability enum: pending, done, failed, deleted, none No
contacts.admin.same_as_owner boolean Yes
contacts.admin.sharing_id string No
contacts.admin.siren string No
contacts.admin.state string No
contacts.admin.streetaddr string Yes
contacts.admin.type enum: individual, company, association, publicbody Yes
contacts.admin.validation enum: pending, done, failed, deleted, none No
contacts.admin.zip string No
contacts.bill object Yes
contacts.bill.brand_number string No
contacts.bill.city string No
contacts.bill.country string Yes
contacts.bill.data_obfuscated boolean No
contacts.bill.email string Yes
contacts.bill.extra_parameters object No
contacts.bill.family string Yes
contacts.bill.fax string No
contacts.bill.given string Yes
contacts.bill.jo_announce_number string No
contacts.bill.jo_announce_page string No
contacts.bill.jo_declaration_date string No
contacts.bill.jo_publication_date string No
contacts.bill.mail_obfuscated boolean No
contacts.bill.mobile string No
contacts.bill.orgname string No
contacts.bill.phone string No
contacts.bill.reachability enum: pending, done, failed, deleted, none No
contacts.bill.same_as_owner boolean Yes
contacts.bill.sharing_id string No
contacts.bill.siren string No
contacts.bill.state string No
contacts.bill.streetaddr string Yes
contacts.bill.type enum: individual, company, association, publicbody Yes
contacts.bill.validation enum: pending, done, failed, deleted, none No
contacts.bill.zip string No
contacts.owner object Yes
contacts.owner.brand_number string No
contacts.owner.city string No
contacts.owner.country string Yes
contacts.owner.data_obfuscated boolean No
contacts.owner.email string Yes
contacts.owner.extra_parameters object No
contacts.owner.family string Yes
contacts.owner.fax string No
contacts.owner.given string Yes
contacts.owner.jo_announce_number string No
contacts.owner.jo_announce_page string No
contacts.owner.jo_declaration_date string No
contacts.owner.jo_publication_date string No
contacts.owner.mail_obfuscated boolean No
contacts.owner.mobile string No
contacts.owner.orgname string No
contacts.owner.phone string No
contacts.owner.reachability enum: pending, done, failed, deleted, none No
contacts.owner.sharing_id string No
contacts.owner.siren string No
contacts.owner.state string No
contacts.owner.streetaddr string Yes
contacts.owner.type enum: individual, company, association, publicbody Yes
contacts.owner.validation enum: pending, done, failed, deleted, none No
contacts.owner.zip string No
contacts.tech object Yes
contacts.tech.brand_number string No
contacts.tech.city string No
contacts.tech.country string Yes
contacts.tech.data_obfuscated boolean No
contacts.tech.email string Yes
contacts.tech.extra_parameters object No
contacts.tech.family string Yes
contacts.tech.fax string No
contacts.tech.given string Yes
contacts.tech.jo_announce_number string No
contacts.tech.jo_announce_page string No
contacts.tech.jo_declaration_date string No
contacts.tech.jo_publication_date string No
contacts.tech.mail_obfuscated boolean No
contacts.tech.mobile string No
contacts.tech.orgname string No
contacts.tech.phone string No
contacts.tech.reachability enum: pending, done, failed, deleted, none No
contacts.tech.same_as_owner boolean Yes
contacts.tech.sharing_id string No
contacts.tech.siren string No
contacts.tech.state string No
contacts.tech.streetaddr string Yes
contacts.tech.type enum: individual, company, association, publicbody Yes
contacts.tech.validation enum: pending, done, failed, deleted, none No
contacts.tech.zip string No
dates object Yes
dates.authinfo_expires_at string (date-time) No
dates.created_at string (date-time) No
dates.deletes_at string (date-time) No
dates.hold_begins_at string (date-time) No
dates.hold_ends_at string (date-time) No
dates.pending_delete_ends_at string (date-time) No
dates.registry_created_at string (date-time) Yes
dates.registry_ends_at string (date-time) No
dates.renew_begins_at string (date-time) No
dates.restore_ends_at string (date-time) No
dates.updated_at string (date-time) Yes
fqdn string Yes
fqdn_unicode string Yes
href string Yes
id string No
nameservers array of string Yes
reachability enum: pending, done, failed, deleted, none Yes
services array of enum: gandidns, redirection, gandimail, packmail, dnssec, blog, ... Yes
sharing_id string No
sharing_space object Yes
sharing_space.id string Yes
sharing_space.name string Yes
sharing_space.reseller boolean No
sharing_space.sharing_space object No
sharing_space.sharing_space.id string Yes
sharing_space.sharing_space.name string Yes
sharing_space.type string Yes
status array of enum: clientHold, clientUpdateProhibited, clientTransferProhibited, clientDeleteProhibited, clientRenewProhibited, serverHold, ... Yes
tags array of string No
tld string Yes
trustee_roles array of object No
trustee_roles[].allow_transferout boolean Yes
trustee_roles[].editable boolean Yes
trustee_roles[].name enum: owner, admin, tech, bill Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

GET /domain/domains/{domain}/createstatus

Operation ID: getDomainDomainsDomainCreatestatus.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes

Responses

200: OK

application/json

Property Type Required Description
errortype string No
errortype_label string No
step enum: BILL, WAIT, RUN, SUPPORT, ERROR Yes
step_nb integer Yes
303: See Other
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

GET /domain/domains/{domain}/renew

Operation ID: getDomainDomainsDomainRenew.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes

Responses

200: OK

application/json

Property Type Required Description
begins_at string Yes
durations array of integer Yes
ends_at string No
in_renew_period boolean No
maximum integer Yes
minimum integer Yes
prohibited boolean Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

GET /domain/domains/{domain}/restore

Operation ID: getDomainDomainsDomainRestore.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes

Responses

200: OK

application/json

Property Type Required Description
contracts array of object No
contracts[].href string No
contracts[].id string Yes
contracts[].name string Yes
contracts[].registry_contract_href string No
restorable boolean Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

remove

DELETE /domain/domains/{domain}

Operation ID: deleteDomainDomainsDomain.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes

Responses

202: Accepted

application/json

Property Type Required Description
message string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

update

PUT /domain/domains/{domain}/authinfo

Operation ID: putDomainDomainsDomainAuthinfo.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes

Responses

201: Created

application/json

Property Type Required Description
message string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

PATCH /domain/domains/{domain}/autorenew

Operation ID: patchDomainDomainsDomainAutorenew.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes

Request body

application/json

Property Type Required Description
duration integer No
enabled boolean Yes
org_id string No

Responses

201: Created

application/json

Property Type Required Description
message string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

PATCH /domain/domains/{domain}/reachability

Operation ID: patchDomainDomainsDomainReachability.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes

Request body

application/json

Property Type Required Description
action enum: resend Yes

Responses

401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes

PATCH /domain/domains/{domain}/status

Operation ID: patchDomainDomainsDomainStatus.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
domain path string Yes

Request body

application/json

Property Type Required Description
clientTransferProhibited boolean Yes

Responses

202: Accepted

application/json

Property Type Required Description
message string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes