How to Update Domain Contacts via API¶
This page contains information complementing our RESTful API documentation concerning the route: /v5/domain/domains/{domain}/contacts
For general information on updating domain name contacts from our website see our page Manage Domain Contacts.
state¶
The value that you enter for “state” must correspond to the UN LOCODE that you can get from https://github.com/datasets/un-locode with a hyphen between the country code and the subdivision code.
For example, to create an owner contact with an address in the state of Minnesota, USA the state value would be “US-MN”.
The following are exceptions to this rule:
France¶
Please note that les DOM are handled as “state” values, with the country being France (fr).
Name |
Description |
FR-ARA FR-BFC FR-BRE FR-CVL FR-COR FR-GES FR-HDF FR-IDF FR-NOR FR-NAQ FR-OCC FR-PDL FR-PAC |
Auvergne-Rhône-Alpes Bourgogne-Franche-Comté Bretagne Centre-Val de Loire Corse Grand Est Hauts-de-France Île-de-France Normandie Nouvelle-Aquitaine Occitanie Pays de la Loire Provence-Alpes-Côte d’Azur |
Norway¶
Sør-Trøndelag and Nord-Trøndelag have been merged into Trøndelag, with the following value: NO-50