cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

API Issues

Wasn't sure where to post this but hoping I can get some help! Tried in live chat but they didn't seem to have a clue or be able to pass me onto somebody that did have a better understanding.

 

First question; is it possible to add hostnames via the API. Eg the same as going to DNS management and then clicking the 'Host names' link?

 

I had some code working last week which via put to https://api.godaddy.com/v1/domains/DOMAIN.COM/records/NS/ I was able to set nameservers successfully but for some reason without any changes to the code I get a 403 error now, has something changed? Even more confusing is the same endpoint but with GET instead of PUT successfully gets the DNS records (same auth headers) so don't see why I would be getting a 403 when trying to change them?

 

Thanks guys!