Skip to content

Instantly share code, notes, and snippets.

@wess
Created February 15, 2023 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wess/d49f45decaa4fff3cf9dd69d9afe51c3 to your computer and use it in GitHub Desktop.
Save wess/d49f45decaa4fff3cf9dd69d9afe51c3 to your computer and use it in GitHub Desktop.
curl -X 'PATCH' \
'https://api.ote-godaddy.com/v1/domains/bestqnypcb.net' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: sso-key <removed-for-safey>' \
-d '{
"nameServers": ["ns1.example.com","ns2.example.com"],
"consent": {
"agreedAt": "2023-02-07T15:12:16.000Z",
"agreedBy": "127.0.0.1",
"agreementKeys": [
"EXPOSE_WHOIS"
]
},
"exposeWhois": true,
"locked": true,
"renewAuto": true
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment