Create/delete domains.

domain_create(name, ip_address, ...)

domain_delete(domain, ...)

Arguments

name

(character) Required. The domain name to add to the DigitalOcean DNS management interface. The name must be unique in DigitalOcean's DNS system. The request will fail if the name has already been taken.

ip_address

(character) Required. An IP address for the domain's initial A record.

...

Further args passed on the curl call to the web.

domain

A domain to modify

Examples

if (FALSE) { d <- domain_create('tablesandchairsbunnies.info', '107.170.220.59') domain_delete(d) }