metaregistrar / php-epp-client

Object-oriented PHP EPP Client
https://www.metaregistrar.com/docs/
MIT License
213 stars 156 forks source link

Remove dnskey exemple #91

Closed universenl closed 7 years ago

universenl commented 7 years ago

Hello,

After asking about remove a dnssec key from a registrar api, can i get a example of this remove object?

new eppDnssecUpdateDomainRequest($add, $remove, $update) Just put the keys to remove in the $remove object variable.

Greatings

metaregistrar commented 7 years ago

For your convenience i have made an example script in Examples/removednssec.php to show how you remove dnssec keys.

First you get the current dnssec keys with domain:info, and then you remove them.

universenl commented 7 years ago

The example script gives a error:

Call to undefined function infodomain()

universenl commented 7 years ago

Nvm got it thanks!