.my
API Commands
Section titled “API Commands”Please find in the following a set of the most commonly used standard API commands in order to register, modify, renew, and transfer a domain name.
Domain Registration
Section titled “Domain Registration”(API Command reference » AddDomain)
command = AddDomaindomain = yourdomain.myperiod = (INT)ownercontact0 = (CONTACT)admincontact0 = (CONTACT)techcontact0 = (CONTACT)billingcontact0 = (CONTACT)nameserver0 = (NAMESERVER)nameserver1 = (NAMESERVER)X-MY-OWNER-DATEOFBIRTH = (YYYY-MM-DD)X-MY-OWNER-IDENTIFICATIONNUMBER = (TEXT)X-MY-ADMIN-ORGANIZATION-TYPE = (OTA code)X-MY-ADMIN-ORGANIZATION-REGISTRATION-NUMBER = (TEXT)X-MY-TECH-DATEOFBIRTH = (YYYY-MM-DD)X-MY-TECH-IDENTIFICATIONNUMBER = (TEXT)X-MY-BILLING-ORGANIZATION-TYPE = (OTA code)X-MY-BILLING-ORGANIZATION-REGISTRATION-NUMBER = (TEXT)- X-MY extensions are needed for each contact type (OWNER, ADMIN, TECH and BILLING) and only 2 of them are needed per contact, depending on whether the contact is an individual or an organization:
- For Individuals, the extensions needed are X-MY-{TYPE}-DATEOFBIRTH and X-MY-{TYPE}-IDENTIFICATIONNUMBER (IC / Passport number).
- For Organizations, the extensions needed are X-MY-{TYPE}-ORGANIZATION-TYPE and X-MY-{TYPE}-ORGANIZATION-REGISTRATION-NUMBER.{TYPE} = OWNER | ADMIN | BILLING | TECH
- Valid Organization Type (OTA) codes:
- OTA000005 = Business
- OTA000003 = Company
- OTA000025 = Non Profit Organization
- OTA000006 = Education
- OTA000012 = Legal Professional
- OTA000032 = Others
Domain Modification
Section titled “Domain Modification”(API Command reference » ModifyDomain)
command = ModifyDomaindomain = yourdomain.myChange of Registrant
Section titled “Change of Registrant”command = ModifyDomaindomain = yourdomain.myaddownercontact0 = (CONTACT)delownercontact0 = (CONTACT)X-MY-OWNER-DATEOFBIRTH = (YYYY-MM-DD)X-MY-OWNER-IDENTIFICATIONNUMBER = (TEXT)orX-MY-OWNER-ORGANIZATION-TYPE = (OTA code)X-MY-OWNER-ORGANIZATION-REGISTRATION-NUMBER = (TEXT)Change of registrant is now a direct contact-data update via ModifyDomain (no TradeDomain, no ICANN FOA, no additional cost). Please use the 2 extensions corresponding to the new owner contact’s type: Individual (DATEOFBIRTH / IDENTIFICATIONNUMBER) or Organization (ORGANIZATION-TYPE / ORGANIZATION-REGISTRATION-NUMBER).
Domain Renewal
Section titled “Domain Renewal”(API Command reference » RenewDomain)
command = RenewDomaindomain = yourdomain.myperiod = (INT)expiration = (INT)Domain Deletion
Section titled “Domain Deletion”(API Command reference » DeleteDomain)
COMMAND = DeleteDomainDOMAIN = yourdomain.myDomain Transfer
Section titled “Domain Transfer”(API Command reference » TransferDomain)
command = TransferDomaindomain = yourdomain.myaction = REQUESTauth = (TEXT)ownercontact0 = (CONTACT, required)admincontact0 = (CONTACT, required)techcontact0 = (CONTACT, required)X-MY contact extensions are required per contact (Individual or Organization, see AddDomain above).
Approve or Deny an Incoming Transfer-away
Section titled “Approve or Deny an Incoming Transfer-away”command = TransferDomaindomain = yourdomain.myaction = APPROVE|DENYDomain Restore
Section titled “Domain Restore”(API Command reference » RestoreDomain)
command = RestoreDomaindomain = yourdomain.myAfter a 40 days renew grace period (RenewDomain is still accepted), there will be a 30 days redemption period where the RestoreDomain command is needed. After day 70 the domain is purged and unrecoverable.
Domain Extensions for Natural Persons
Section titled “Domain Extensions for Natural Persons”| X-MY-{TYPE}-DATEOFBIRTH | (YYYY-MM-DD) Date of birth |
|---|---|
| X-MY-{TYPE}-IDENTIFICATIONNUMBER | (TEXT) ID / Passport number |
Domain Extensions for Organisations or Companies
Section titled “Domain Extensions for Organisations or Companies”| X-MY-{TYPE}-ORGANIZATION-TYPE | (OTA code) Valid Organization Type codes: OTA000005 = Business OTA000003 = Company OTA000025 = Non Profit Organization OTA000006 = Education OTA000012 = Legal Professional OTA000032 = Others |
|---|---|
| X-MY-{TYPE}-ORGANIZATION-REGISTRATION-NUMBER | (TEXT) |
{TYPE} = OWNER | ADMIN | BILLING | TECH
Domain Restrictions
Section titled “Domain Restrictions”There are no restrictions for .my
