Created
August 13, 2020 03:23
-
-
Save hurelhuyag/e44e303716922be68441d59696cfa3a5 to your computer and use it in GitHub Desktop.
godaddy domain API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PATCH https://api.godaddy.com/v1/domains/{domain}/records | |
Accept: application/json | |
Content-Type: application/json | |
Authorization: sso-key key:secret | |
[{"data": "{value}", "name": "{subDomain}", "ttl": 600, "type": "TXT"}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT https://api.godaddy.com/v1/domains/{domain}/records/TXT/{subDomain} | |
Accept: application/json | |
Content-Type: application/json | |
Authorization: sso-key key:secret | |
[{ "data": "I'm messing you", "name": "{subDomain}", "ttl": 600 }] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment