Oauth authorizaion in Python - Bad Credentials

I am starting with the Python SDK an have problems with the credentials.

I have used the tutorial für authorization with client credential. I get a token an can get the list of roles by using requests:

response = requests.get('https://api.mypurecloud.ie/api/v2/users', headers=requestHeaders)

But when i try to use the SDK like this:
"# Configure OAuth2 access token for authorization: PureCloud Auth"
PureCloudPlatformApiSdk.configuration.access_token = responseJson['access_token']
"# create an instance of the API class"
api_instance = PureCloudPlatformApiSdk.UsersApi()

api_response = api_instance.get_users(page_size=page_size, page_number=page_number, id=id, sort_order=sort_order, expand=expand)

I always get an error:
{"status":401,"code":"bad.credentials","message":"Invalid login credentials."}

are you setting the environment to .ie?

PureCloudPlatformApiSdk.configuration.host = 'https://api.mypurecloud.ie'

No i haven't. Now it is working after setting the correct environment. Now i have seen, it is mentioned in the Chapter: Using the library.

Thank You.