diff --git a/src/jamf_pro_sdk/clients/auth.py b/src/jamf_pro_sdk/clients/auth.py index 2f0079d..e261689 100644 --- a/src/jamf_pro_sdk/clients/auth.py +++ b/src/jamf_pro_sdk/clients/auth.py @@ -157,7 +157,7 @@ def __init__(self, client_id: str, client_secret: str): def _request_access_token(self) -> AccessToken: """Request a new an API access token using client credentials flow.""" with self._client.session.post( - url=f"{self._client.base_server_url}/api/oauth/token", + url=f"{self._client.base_server_url}/api/v1/oauth/token", headers={ "Accept": "application/json", "Content-Type": "application/x-www-form-urlencoded",