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(API Command reference » AddDomain)
command = AddDomain domain = yourdomain.ph period = (INT) ownercontact0 = (CONTACT) admincontact0 = (CONTACT) techcontact0 = (CONTACT) billingcontact0 = (CONTACT) nameserver0 = (NAMESERVER) nameserver1 = (NAMESERVER)
Domain Modification(API Command reference » ModifyDomain)
command = ModifyDomain domain = yourdomain.ph
Domain Renewal(API Command reference » RenewDomain)
command = RenewDomain domain = yourdomain.ph period = (INT) expiration = (INT)
Domain Deletion(API Command reference » DeleteDomain)
COMMAND = DeleteDomain DOMAIN = yourdomain.ph
Domain Transfer(API Command reference » TransferDomain)
command = TransferDomain domain = yourdomain.ph action = REQUEST auth = (TEXT)
- A .ph domain transfer can be initiated with a so-called authorisation code, which can be obtained from the current registrar through the owner or Admin-C of the domain.
- A .ph domain transfer can also be initiated without authcode. The losing registrar has to confirm or reject the transfer of the domain within 7 days.
Domain Restore(API Command reference » RestoreDomain)
command = RestoreDomain domain = yourdomain.ph