diff --git a/sample.py b/sample.py index 1cff18f..42045de 100644 --- a/sample.py +++ b/sample.py @@ -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] diff --git a/ultra_rest_client/connection.py b/ultra_rest_client/connection.py index e379027..3708bc4 100644 --- a/ultra_rest_client/connection.py +++ b/ultra_rest_client/connection.py @@ -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