Skip to content

Commit

Permalink
Merge pull request #20 from ultradns/default-api-hostname
Browse files Browse the repository at this point in the history
change default api hostname from restapi to api
  • Loading branch information
stevedejong authored Sep 17, 2024
2 parents 26523df + 45ffdb2 commit e5f5626
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
password = sys.argv[2]
use_http = 'False'
use_token = 'False'
domain = 'restapi.ultradns.com'
domain = 'api.ultradns.com'

if len(sys.argv) == 6:
use_token = sys.argv[3]
Expand Down
2 changes: 1 addition & 1 deletion ultra_rest_client/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __str__(self):


class RestApiConnection:
def __init__(self, use_http=False, host="restapi.ultradns.com", access_token: str = "", refresh_token: str = ""):
def __init__(self, use_http=False, host="api.ultradns.com", access_token: str = "", refresh_token: str = ""):
self.use_http = use_http
self.host = host
self.access_token = access_token
Expand Down

0 comments on commit e5f5626

Please sign in to comment.