.af
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
command = AddDomaindomain = yourdomain.afperiod = (INT)ownercontact0 = (CONTACT)admincontact0 = (CONTACT)techcontact0 = (CONTACT)billingcontact0 = (CONTACT)nameserver0 = (NAMESERVER)nameserver1 = (NAMESERVER)Domain Modification
Section titled “Domain Modification”(API Command reference » ModifyDomain)
Command
command = ModifyDomaindomain = yourdomain.afDomain Renewal
Section titled “Domain Renewal”(API Command reference » RenewDomain)
Command
command = RenewDomaindomain = yourdomain.afperiod = (INT)expiration = (INT)Domain Deletion
Section titled “Domain Deletion”(API Command reference » DeleteDomain)
Command
COMMAND = DeleteDomainDOMAIN = yourdomain.afDomain Transfer
Section titled “Domain Transfer”(API Command reference » TransferDomain)
Command
command = TransferDomaindomain = yourdomain.afaction = REQUESTauth = (TEXT)- A .af 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 .af domain transfer can also be initiated without authcode. The losing registrar has to confirm or reject the transfer of the domain within 7 days.
- A special transfer fee will be charged. A transfer does NOT include a renewal and will NOT extend the expiration date.
Domain Restore
Section titled “Domain Restore”(API Command reference » RestoreDomain)
Command
command = RestoreDomaindomain = yourdomain.af